aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2022-03-09 20:54:37 +0100
committerHans-Peter Nilsson <hp@axis.com>2022-03-09 20:54:37 +0100
commite2607d71e5e371c0c006555e0531ea1ff5ac416c (patch)
treec502ec7928d301c450bd0c86ba067882407c7ff4 /Makefile.def
parent450526551dcb97b7c0513699d4333efb79b8b490 (diff)
downloadgcc-e2607d71e5e371c0c006555e0531ea1ff5ac416c.zip
gcc-e2607d71e5e371c0c006555e0531ea1ff5ac416c.tar.gz
gcc-e2607d71e5e371c0c006555e0531ea1ff5ac416c.tar.bz2
toplevel: Makefile.def: Make configure-sim depend on all-readline
Without this, a "make all-sim" without the equivalent of libreadline-dev installed on the build system, won't properly pick up the in-tree readline build, and you'll see: mkdir -p -- ./sim Configuring in ./sim configure: creating cache ./config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... cris-axis-elf checking for x86_64-pc-linux-gnu-gcc... gcc checking whether the C compiler works... yes ... checking for library containing tgetent... -ltermcap checking for readline in -lreadline... no configure: error: the required "readline" library is missing make[1]: *** [Makefile:11188: configure-sim] Error 1 make[1]: Leaving directory '/home/hp/sim/b' The sim dependency on readline is apparently (nominally) valid as there's a readline call in sim/erc32/sis.c. 2022-02-21 Hans-Peter Nilsson <hp@axis.com> * Makefile.def (dependencies): Make configure-sim depend on all-readline. * Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.def b/Makefile.def
index 80347fd..72d5854 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -570,7 +570,7 @@ dependencies = { module=all-sim; on=all-intl; };
dependencies = { module=all-sim; on=all-libiberty; };
dependencies = { module=all-sim; on=all-bfd; };
dependencies = { module=all-sim; on=all-opcodes; };
-dependencies = { module=all-sim; on=all-readline; };
+dependencies = { module=configure-sim; on=all-readline; };
// Other host modules.
dependencies = { module=all-fastjar; on=all-zlib; };