DIRDEPS_BUILD: None of this is needed anymore.
This file is using stage-install, so all of the .dirdep files are properly handled. The cookie handling also properly handles rebuilds with .meta files. DESTDIR from bsd.sys.mk is also respected for staging. This logic came in r239572. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
588f5cb86d
commit
f883c0ad24
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296691
@ -128,31 +128,11 @@ _MARCHS= ${MACHINE_CPUARCH}
|
|||||||
_MARCHS+= x86
|
_MARCHS+= x86
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_STAGING} == "yes"
|
META_COOKIES+= compat copies symlinks
|
||||||
# tell bsd.incs.mk that we have it covered
|
stage_includes: ${SHARED}
|
||||||
NO_STAGE_INCLUDES=
|
|
||||||
META_COOKIES+= stage_prep stage_include compat copies symlinks
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|
||||||
.if ${MK_STAGING} != "no" && !defined(_SKIP_BUILD)
|
|
||||||
.if make(all)
|
|
||||||
DESTDIR= ${STAGE_OBJTOP}
|
|
||||||
|
|
||||||
all: stage_include
|
|
||||||
installincludes: buildincludes
|
|
||||||
buildincludes: stage_prep
|
|
||||||
|
|
||||||
stage_prep:
|
|
||||||
@mkdir -p ${DESTDIR}${INCLUDEDIR}
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
stage_include: .dirdep installincludes
|
|
||||||
@touch $@
|
|
||||||
.endif
|
|
||||||
.endif
|
|
||||||
|
|
||||||
installincludes: ${SHARED}
|
installincludes: ${SHARED}
|
||||||
${SHARED}: compat
|
${SHARED}: compat
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user