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 \