Remove a few more vestiges of allowing WITHOUT_BMAKE to imply you want

to buid with fmake.
This commit is contained in:
Warner Losh 2014-05-10 16:37:33 +00:00
parent 21f76c672f
commit 4d9b013a63

View File

@ -316,13 +316,6 @@ kernel: buildkernel installkernel
upgrade_checks: upgrade_checks:
.if ${HAVE_MAKE} != ${WANT_MAKE} .if ${HAVE_MAKE} != ${WANT_MAKE}
@(cd ${.CURDIR} && ${MAKE} ${WANT_MAKE:S,^f,,}) @(cd ${.CURDIR} && ${MAKE} ${WANT_MAKE:S,^f,,})
.elif ${WANT_MAKE} == "fmake"
@if ! (cd ${.CURDIR}/tools/build/make_check && \
PATH=${PATH} ${BINMAKE} obj >/dev/null 2>&1 && \
PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \
then \
(cd ${.CURDIR} && ${MAKE} make); \
fi
.endif .endif
# #
@ -336,18 +329,18 @@ MMAKEENV= MAKEOBJDIRPREFIX=${MYMAKE:H} \
MMAKE= ${MMAKEENV} ${MAKE} \ MMAKE= ${MMAKEENV} ${MAKE} \
-D_UPGRADING -DNO_MAN -DNO_SHARED \ -D_UPGRADING -DNO_MAN -DNO_SHARED \
-DNO_CPU_CFLAGS -DNO_WERROR \ -DNO_CPU_CFLAGS -DNO_WERROR \
DESTDIR= MK_TESTS=no PROGNAME=${MYMAKE:T} DESTDIR= PROGNAME=${MYMAKE:T}
make bmake: .PHONY bmake: .PHONY
@echo @echo
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
@echo ">>> Building an up-to-date make(1)" @echo ">>> Building an up-to-date ${.TARGET}(1)"
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
${_+_}@cd ${.CURDIR}/usr.bin/${.TARGET}; \ ${_+_}@cd ${.CURDIR}/usr.bin/${.TARGET}; \
${MMAKE} obj && \ ${MMAKE} obj && \
${MMAKE} depend && \ ${MMAKE} depend && \
${MMAKE} all && \ ${MMAKE} all && \
${MMAKE} install DESTDIR=${MYMAKE:H} BINDIR= NO_MAN=t ${MMAKE} install DESTDIR=${MYMAKE:H} BINDIR=
tinderbox toolchains kernel-toolchains: upgrade_checks tinderbox toolchains kernel-toolchains: upgrade_checks