From 4e8764288f71a8ed3e758a0c237261af22826f0d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 11 Nov 2001 06:16:53 +0000 Subject: [PATCH] Move all: target to kern.pre.mk so it matters less where you include kern.post.mk. # this should allow us to move kern.post.mk to the last line of the makefiles, # but I'll do that slowly as I verify that one can do that w/o breaking things. Submitted by: naddy --- sys/conf/kern.post.mk | 2 -- sys/conf/kern.pre.mk | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index b0d44daa123f..88bf0a248736 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -9,8 +9,6 @@ .PHONY: all modules -all: ${KERNEL_KO} - depend: kernel-depend clean: kernel-clean cleandepend: kernel-cleandepend diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index 06a2cb7b9f58..17f08b230a19 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -82,3 +82,4 @@ SYSTEM_LD_TAIL= @${OBJCOPY} --strip-symbol gcc2_compiled. ${.TARGET} ; \ ${SIZE} ${FMT} ${.TARGET} ; chmod 755 ${.TARGET} SYSTEM_DEP+= $S/conf/ldscript.$M +all: ${KERNEL_KO}