Deal with bootstrapping from an old -current (almost exactly a year old)

which fails the make tests (doesn't understand ${notdef:U}) and therefore
fails on __FBSDID in usr.bin/make/*.  -DBOOTSTRAPPING is no help here since
this is before we are using the new share/mk/* files, and it would conflict
with the builtin -DBOOTSTRAPPING support later.. so use a different flag.
This commit is contained in:
Peter Wemm 2002-08-31 07:18:40 +00:00
parent 02b8bc8062
commit 7b2f27b0fe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102692
2 changed files with 5 additions and 1 deletions

View File

@ -204,7 +204,8 @@ make:
@echo " Upgrading the installed make"
@echo "--------------------------------------------------------------"
@cd ${.CURDIR}/usr.bin/make; \
make obj && make depend && make all && make install
make obj && make -D_UPGRADING depend && \
make -D_UPGRADING all && make install
#
# Define the upgrade targets. These are listed here in alphabetical

View File

@ -16,6 +16,9 @@ SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
NOSHARED?= YES
CFLAGS+=-DMAKE_VERSION=\"5200208240\"
.if defined(_UPGRADING)
CFLAGS+=-D__FBSDID=__RCSID
.endif
main.o: ${MAKEFILE}