Eliminate NO_INCS. It is used one place, and MK_TOOLCHAIN=no will

handle the job just as well. Opt for simplicity rather than one more
option.
This commit is contained in:
Warner Losh 2014-04-25 19:25:45 +00:00
parent c772d4925c
commit 347c9de056
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264930
2 changed files with 4 additions and 4 deletions

View File

@ -406,8 +406,8 @@ LIB32WMAKEFLAGS+= CC="${XCC} ${LIB32FLAGS}" \
LIB32WMAKE= ${LIB32WMAKEENV} ${MAKE} ${LIB32WMAKEFLAGS} \
MK_MAN=no MK_INFO=no MK_HTML=no
LIB32IMAKE= ${LIB32WMAKE:NINSTALL=*:NDESTDIR=*:N_LDSCRIPTROOT=*} -DNO_INCS \
${IMAKE_INSTALL}
LIB32IMAKE= ${LIB32WMAKE:NINSTALL=*:NDESTDIR=*:N_LDSCRIPTROOT=*} \
MK_TOOLCHAIN=no ${IMAKE_INSTALL}
.endif
IMAKEENV= ${CROSSENV:N_LDSCRIPTROOT=*}

View File

@ -4,7 +4,7 @@
.error bsd.incs.mk cannot be included directly.
.endif
.if !defined(NO_INCS) && ${MK_TOOLCHAIN} != "no"
.if ${MK_TOOLCHAIN} != "no"
INCSGROUPS?= INCS
@ -81,4 +81,4 @@ installincludes:
realinstall: installincludes
.ORDER: beforeinstall installincludes
.endif # !defined(NO_INCS) && ${MK_TOOLCHAIN} != "no"
.endif # ${MK_TOOLCHAIN} != "no"