aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-26 20:41:44 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-26 20:41:44 -0500
commit429a55b86557883a18e9c6405918825eb6eafd28 (patch)
treebd5f1c30634878343a08c4a1a42471693d0176ad /sim/testsuite
parent1214c97666139d06fd1d1301af05844f7771f377 (diff)
downloadgdb-429a55b86557883a18e9c6405918825eb6eafd28.zip
gdb-429a55b86557883a18e9c6405918825eb6eafd28.tar.gz
gdb-429a55b86557883a18e9c6405918825eb6eafd28.tar.bz2
sim: testsuite: fix bits-gen EXEEXT handling
Add missing $(EXEEXT) to dependencies on bits-gen. These are actually build-only tools, but automake doesn't allow for build & host tools, so the rules are re-using EXEEXT.
Diffstat (limited to 'sim/testsuite')
-rw-r--r--sim/testsuite/common/local.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/testsuite/common/local.mk b/sim/testsuite/common/local.mk
index 69f2d70..e48f369 100644
--- a/sim/testsuite/common/local.mk
+++ b/sim/testsuite/common/local.mk
@@ -48,7 +48,7 @@ check_PROGRAMS += $(TESTS)
%D%/bits32m0$(EXEEXT): $(%C%_bits32m0_OBJECTS) $(%C%_bits32m0_DEPENDENCIES) %D%/$(am__dirstamp)
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits32m0_OBJECTS) $(%C%_bits32m0_LDADD)
-%D%/bits32m0.c: %D%/bits-gen %D%/bits-tst.c
+%D%/bits32m0.c: %D%/bits-gen$(EXEEXT) %D%/bits-tst.c
$(AM_V_GEN)$< 32 0 big > $@.tmp
$(AM_V_at)cat $(srcdir)/%D%/bits-tst.c >> $@.tmp
$(AM_V_at)mv $@.tmp $@
@@ -56,7 +56,7 @@ check_PROGRAMS += $(TESTS)
%D%/bits32m31$(EXEEXT): $(%C%_bits32m31_OBJECTS) $(%C%_bits32m31_DEPENDENCIES) %D%/$(am__dirstamp)
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits32m31_OBJECTS) $(%C%_bits32m31_LDADD)
-%D%/bits32m31.c: %D%/bits-gen %D%/bits-tst.c
+%D%/bits32m31.c: %D%/bits-gen$(EXEEXT) %D%/bits-tst.c
$(AM_V_GEN)$< 32 31 little > $@.tmp
$(AM_V_at)cat $(srcdir)/%D%/bits-tst.c >> $@.tmp
$(AM_V_at)mv $@.tmp $@
@@ -64,7 +64,7 @@ check_PROGRAMS += $(TESTS)
%D%/bits64m0$(EXEEXT): $(%C%_bits64m0_OBJECTS) $(%C%_bits64m0_DEPENDENCIES) %D%/$(am__dirstamp)
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits64m0_OBJECTS) $(%C%_bits64m0_LDADD)
-%D%/bits64m0.c: %D%/bits-gen %D%/bits-tst.c
+%D%/bits64m0.c: %D%/bits-gen$(EXEEXT) %D%/bits-tst.c
$(AM_V_GEN)$< 64 0 big > $@.tmp
$(AM_V_at)cat $(srcdir)/%D%/bits-tst.c >> $@.tmp
$(AM_V_at)mv $@.tmp $@
@@ -72,7 +72,7 @@ check_PROGRAMS += $(TESTS)
%D%/bits64m63$(EXEEXT): $(%C%_bits64m63_OBJECTS) $(%C%_bits64m63_DEPENDENCIES) %D%/$(am__dirstamp)
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits64m63_OBJECTS) $(%C%_bits64m63_LDADD)
-%D%/bits64m63.c: %D%/bits-gen %D%/bits-tst.c
+%D%/bits64m63.c: %D%/bits-gen$(EXEEXT) %D%/bits-tst.c
$(AM_V_GEN)$< 64 63 little > $@.tmp
$(AM_V_at)cat $(srcdir)/%D%/bits-tst.c >> $@.tmp
$(AM_V_at)mv $@.tmp $@