diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-05-26 23:20:01 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-05-26 23:20:01 +0000 |
commit | 016448a507cd2381f34b4cb7f7de42487b79dc6d (patch) | |
tree | 702a58f47759a8286170f410407c6e9af4447a8b /targets/pseudo/kernel | |
parent | 2d86a958e239b646c95dc74e80a7d7b649656a7b (diff) | |
download | src-016448a507cd2381f34b4cb7f7de42487b79dc6d.tar.gz src-016448a507cd2381f34b4cb7f7de42487b79dc6d.zip |
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
Notes
Notes:
svn path=/head/; revision=300795
Diffstat (limited to 'targets/pseudo/kernel')
-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 8783d358750e..e135b22e01cf 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 |