Fix 'make bmake' top-level bootstrapping.

Fixes:	ee10666327
This commit is contained in:
Bryan Drewery 2021-03-06 09:45:08 -08:00
parent 092f3f0812
commit eb8bf6bb42
2 changed files with 3 additions and 1 deletions

View File

@ -458,7 +458,7 @@ MMAKE= ${MMAKEENV} ${MAKE} \
OBJTOP=${MYMAKE:H}/obj \ OBJTOP=${MYMAKE:H}/obj \
OBJROOT='$${OBJTOP}/' \ OBJROOT='$${OBJTOP}/' \
MAKEOBJDIRPREFIX= \ MAKEOBJDIRPREFIX= \
MAN= -DNO_SHARED \ MK_MAN=no -DNO_SHARED \
-DNO_CPU_CFLAGS MK_WERROR=no \ -DNO_CPU_CFLAGS MK_WERROR=no \
-DNO_SUBDIR \ -DNO_SUBDIR \
DESTDIR= PROGNAME=${MYMAKE:T} DESTDIR= PROGNAME=${MYMAKE:T}

View File

@ -9,9 +9,11 @@
.if exists(${.CURDIR}/tests) .if exists(${.CURDIR}/tests)
PROG= make PROG= make
.if ${PROGNAME:U} != "bmake"
LINKS= ${BINDIR}/make ${BINDIR}/bmake LINKS= ${BINDIR}/make ${BINDIR}/bmake
MLINKS= ${MAN} b${MAN} MLINKS= ${MAN} b${MAN}
.endif .endif
.endif
.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no" .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?= YES NO_SHARED?= YES