Skip to content

gdbsupport_fix_config_status_dep

Tsukasa OI edited this page Sep 9, 2022 · 5 revisions

gdbsupport: Fix config.status dependency

Issue Solved

Commit 171fba11ab27 ("Make GDBserver abort on internal error in development mode") created a new substitution CONFIG_STATUS_DEPENDENCIES but this is used by Makefile.in (which is not regenerated by that commit).

After regenerating it, it is found that CONFIG_STATUS_DEPENDENCIES value is not valid, making gdbsupport fail to build.

Since the CONFIG_STATUS_DEPENDENCIES value is used in the Makefile, macro substitution must have a Makefile format but commit 171fba11ab27 used shell format '$srcdir/../bfd/development.sh'.

This commit fixes this issue by substituting $srcdir (shell format) to $(srcdir) (Makefile format). It preserves the dependency as Pedro intended and fixes the build problem.

Clone this wiki locally