summaryrefslogtreecommitdiffstats
path: root/targets
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-05-26 23:20:01 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-05-26 23:20:01 +0000
commit4b36e6ff5872ac64e1a92f33bcaf69970fbe479a (patch)
tree702a58f47759a8286170f410407c6e9af4447a8b /targets
parentf447d93a91b834c8465061e1d63751370fb7f441 (diff)
downloadFreeBSD-src-4b36e6ff5872ac64e1a92f33bcaf69970fbe479a.zip
FreeBSD-src-4b36e6ff5872ac64e1a92f33bcaf69970fbe479a.tar.gz
WITH_META_MODE: Move the kernel support to kern.pre.mk.
This allows using META_MODE directly from the kernel build directory. This also allows removing a hack from the DIRDEPS_BUILD kernel target. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'targets')
-rw-r--r--targets/pseudo/kernel/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/targets/pseudo/kernel/Makefile b/targets/pseudo/kernel/Makefile
index 8783d35..e135b22 100644
--- a/targets/pseudo/kernel/Makefile
+++ b/targets/pseudo/kernel/Makefile
@@ -15,10 +15,8 @@ ${KERNCONF}.config: .MAKE ${META_DEPS}
(cd ${KERN_CONFDIR} && \
${CONFIG} ${CONFIGARGS} -d ${KERN_OBJDIR} ${KERNCONF})
-# we need to pass curdirOk=yes to meta mode, since we want .meta files
-# in ${KERN_OBJDIR}
${KERNCONF}.build: .MAKE ${KERNCONF}.config
- (cd ${KERN_OBJDIR} && META_MODE="${.MAKE.MODE} curdirOk=yes" ${.MAKE})
+ (cd ${KERN_OBJDIR} && ${.MAKE})
.if ${.MAKE.LEVEL} > 0
all: ${KERNCONF}.build
OpenPOWER on IntegriCloud