diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-05-26 23:20:01 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-05-26 23:20:01 +0000 |
commit | 4b36e6ff5872ac64e1a92f33bcaf69970fbe479a (patch) | |
tree | 702a58f47759a8286170f410407c6e9af4447a8b /targets | |
parent | f447d93a91b834c8465061e1d63751370fb7f441 (diff) | |
download | FreeBSD-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/Makefile | 4 |
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 |