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:
parent
c772d4925c
commit
347c9de056
@ -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=*}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user