diff --git a/Makefile b/Makefile index a86df3b67236..aa9c05736ebb 100644 --- a/Makefile +++ b/Makefile @@ -250,7 +250,7 @@ ${TGTS}: .MAKE tinderbox toolchains kernel-toolchains: .MAKE .endif -${TGTS}: +${TGTS}: .PHONY ${_+_}@cd ${.CURDIR}; ${_MAKE} ${.TARGET} # The historic default "all" target creates files which may cause stale diff --git a/Makefile.inc1 b/Makefile.inc1 index 4e6a873887ce..1cdefc948cd9 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1062,7 +1062,7 @@ INSTALLKERNEL= ${_kernel} .endif .endfor -buildkernel ${WMAKE_TGTS:N_worldtmp} ${.ALLTARGETS:M_*:N_worldtmp}: .MAKE +buildkernel ${WMAKE_TGTS:N_worldtmp} ${.ALLTARGETS:M_*:N_worldtmp}: .MAKE .PHONY # # buildkernel