From: Alan Modra <amodra@gmail.com>
To: gdb-patches@sourceware.org
Subject: sim: no rule to make sim/ppc/Makefile.in
Date: Wed, 21 Feb 2024 16:33:59 +1030 [thread overview]
Message-ID: <ZdWSTxpaj6B88jmx@squeak.grove.modra.org> (raw)
Seen with --enable-maintainer-mode.
make[3]: *** No rule to make target '.../sim/ppc/Makefile.in', needed
by 'ppc/stamp-pk'. Stop.
OK?
* sim/ppc/local.mk (stamp-pk): Depend on local.mk not
Makefile.in.
* Makefile.in: Regenerate.
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 40cc9dc1871..ba27e9f5c8c 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -5900,7 +5900,7 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
@SIM_ENABLE_ARCH_ppc_TRUE@ $(AM_V_at)touch $@
@SIM_ENABLE_ARCH_ppc_TRUE@ppc/hw.c ppc/hw.h: ppc/stamp-igen
@SIM_ENABLE_ARCH_ppc_TRUE@$(srcdir)/ppc/pk.h: @MAINT@ ppc/stamp-pk ; @true
-@SIM_ENABLE_ARCH_ppc_TRUE@ppc/stamp-pk: $(srcdir)/ppc/Makefile.in $(ppc_PACKAGE_SRC) $(srcroot)/move-if-change
+@SIM_ENABLE_ARCH_ppc_TRUE@ppc/stamp-pk: $(srcdir)/ppc/local.mk $(ppc_PACKAGE_SRC) $(srcroot)/move-if-change
@SIM_ENABLE_ARCH_ppc_TRUE@ $(AM_V_GEN)echo "/* Generated file by local.mk; do not edit. */" > ppc/pk.hin; \
@SIM_ENABLE_ARCH_ppc_TRUE@ f=""; \
@SIM_ENABLE_ARCH_ppc_TRUE@ for i in $(ppc_PACKAGE_SRC) ; do \
diff --git a/sim/ppc/local.mk b/sim/ppc/local.mk
index 627a1c6da38..f9f134abe3c 100644
--- a/sim/ppc/local.mk
+++ b/sim/ppc/local.mk
@@ -265,7 +265,7 @@ BUILT_SOURCES += \
## NB: The first for loop is to remove duplicates.
%C%_PACKAGE_SRC = %D%/pk_disklabel.c
$(srcdir)/%D%/pk.h: @MAINT@ %D%/stamp-pk ; @true
-%D%/stamp-pk: $(srcdir)/%D%/Makefile.in $(%C%_PACKAGE_SRC) $(srcroot)/move-if-change
+%D%/stamp-pk: $(srcdir)/%D%/local.mk $(%C%_PACKAGE_SRC) $(srcroot)/move-if-change
$(AM_V_GEN)echo "/* Generated file by local.mk; do not edit. */" > %D%/pk.hin; \
f=""; \
for i in $(%C%_PACKAGE_SRC) ; do \
--
Alan Modra
Australia Development Lab, IBM
next reply other threads:[~2024-02-21 6:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 6:03 Alan Modra [this message]
2024-02-23 16:23 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZdWSTxpaj6B88jmx@squeak.grove.modra.org \
--to=amodra@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).