WITH_META_MODE: Allow buildkernel to create .meta files with curdir==objdir.
Without this the incremental build was broken since .depend.* are not generated with .MAKE.MODE=meta and .meta files were not created to track dependencies. Typically meta mode does not create .meta files when building with curdir==objdir but the kernel build is special. Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com> Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
959f9e0f5d
commit
561e173f7e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298654
@ -531,6 +531,11 @@ IMAKE_MTREE= MTREE_CMD="mtree ${MTREEFLAGS}"
|
||||
# kernel stage
|
||||
KMAKEENV= ${WMAKEENV}
|
||||
KMAKE= ${KMAKEENV} ${MAKE} ${.MAKEFLAGS} ${KERNEL_FLAGS} KERNEL=${INSTKERNNAME}
|
||||
.if ${MK_META_MODE} == "yes"
|
||||
# meta mode normally is disallowed when building from curdir==objdir, but we
|
||||
# want to allow it for the kernel build.
|
||||
KMAKE+= .MAKE.MODE="${.MAKE.MODE} curdirOk=yes"
|
||||
.endif
|
||||
|
||||
#
|
||||
# buildworld
|
||||
|
Loading…
Reference in New Issue
Block a user