* sim: no rule to make sim/ppc/Makefile.in
@ 2024-02-21 6:03 Alan Modra
2024-02-23 16:23 ` Tom Tromey
0 siblings, 1 reply; 2+ messages in thread
From: Alan Modra @ 2024-02-21 6:03 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sim: no rule to make sim/ppc/Makefile.in
2024-02-21 6:03 sim: no rule to make sim/ppc/Makefile.in Alan Modra
@ 2024-02-23 16:23 ` Tom Tromey
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2024-02-23 16:23 UTC (permalink / raw)
To: Alan Modra; +Cc: gdb-patches
>>>>> "Alan" == Alan Modra <amodra@gmail.com> writes:
Alan> Seen with --enable-maintainer-mode.
Alan> make[3]: *** No rule to make target '.../sim/ppc/Makefile.in', needed
Alan> by 'ppc/stamp-pk'. Stop.
Alan> OK?
Alan> * sim/ppc/local.mk (stamp-pk): Depend on local.mk not
Alan> Makefile.in.
Alan> * Makefile.in: Regenerate.
Looks good to me, may even obvious.
Approved-By: Tom Tromey <tom@tromey.com>
thanks,
Tom
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-23 16:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-21 6:03 sim: no rule to make sim/ppc/Makefile.in Alan Modra
2024-02-23 16:23 ` Tom Tromey
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).