From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 833FD3858D39 for ; Sat, 27 Nov 2021 01:49:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 833FD3858D39 Received: by smtp.gentoo.org (Postfix, from userid 559) id C8FA2343269; Sat, 27 Nov 2021 01:49:20 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: testsuite: fix bits-gen EXEEXT handling Date: Fri, 26 Nov 2021 20:49:17 -0500 Message-Id: <20211127014917.11243-1-vapier@gentoo.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2021 01:49:23 -0000 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. --- sim/Makefile.in | 8 ++++---- sim/testsuite/common/local.mk | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sim/Makefile.in b/sim/Makefile.in index 671d63c30b8f..1dae0a482fb9 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -2693,7 +2693,7 @@ testsuite/common/bits-gen$(EXEEXT): $(testsuite_common_bits_gen_OBJECTS) $(tests testsuite/common/bits32m0$(EXEEXT): $(testsuite_common_bits32m0_OBJECTS) $(testsuite_common_bits32m0_DEPENDENCIES) testsuite/common/$(am__dirstamp) $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits32m0_OBJECTS) $(testsuite_common_bits32m0_LDADD) -testsuite/common/bits32m0.c: testsuite/common/bits-gen testsuite/common/bits-tst.c +testsuite/common/bits32m0.c: testsuite/common/bits-gen$(EXEEXT) testsuite/common/bits-tst.c $(AM_V_GEN)$< 32 0 big > $@.tmp $(AM_V_at)cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp $(AM_V_at)mv $@.tmp $@ @@ -2701,7 +2701,7 @@ testsuite/common/bits32m0.c: testsuite/common/bits-gen testsuite/common/bits-tst testsuite/common/bits32m31$(EXEEXT): $(testsuite_common_bits32m31_OBJECTS) $(testsuite_common_bits32m31_DEPENDENCIES) testsuite/common/$(am__dirstamp) $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits32m31_OBJECTS) $(testsuite_common_bits32m31_LDADD) -testsuite/common/bits32m31.c: testsuite/common/bits-gen testsuite/common/bits-tst.c +testsuite/common/bits32m31.c: testsuite/common/bits-gen$(EXEEXT) testsuite/common/bits-tst.c $(AM_V_GEN)$< 32 31 little > $@.tmp $(AM_V_at)cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp $(AM_V_at)mv $@.tmp $@ @@ -2709,7 +2709,7 @@ testsuite/common/bits32m31.c: testsuite/common/bits-gen testsuite/common/bits-ts testsuite/common/bits64m0$(EXEEXT): $(testsuite_common_bits64m0_OBJECTS) $(testsuite_common_bits64m0_DEPENDENCIES) testsuite/common/$(am__dirstamp) $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits64m0_OBJECTS) $(testsuite_common_bits64m0_LDADD) -testsuite/common/bits64m0.c: testsuite/common/bits-gen testsuite/common/bits-tst.c +testsuite/common/bits64m0.c: testsuite/common/bits-gen$(EXEEXT) testsuite/common/bits-tst.c $(AM_V_GEN)$< 64 0 big > $@.tmp $(AM_V_at)cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp $(AM_V_at)mv $@.tmp $@ @@ -2717,7 +2717,7 @@ testsuite/common/bits64m0.c: testsuite/common/bits-gen testsuite/common/bits-tst testsuite/common/bits64m63$(EXEEXT): $(testsuite_common_bits64m63_OBJECTS) $(testsuite_common_bits64m63_DEPENDENCIES) testsuite/common/$(am__dirstamp) $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits64m63_OBJECTS) $(testsuite_common_bits64m63_LDADD) -testsuite/common/bits64m63.c: testsuite/common/bits-gen testsuite/common/bits-tst.c +testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/common/bits-tst.c $(AM_V_GEN)$< 64 63 little > $@.tmp $(AM_V_at)cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp $(AM_V_at)mv $@.tmp $@ diff --git a/sim/testsuite/common/local.mk b/sim/testsuite/common/local.mk index 69f2d70eb5f4..e48f369d9413 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 $@ -- 2.33.0