Fix make bootstrapping with WITH_DEBUG_FILES=

A HEAD buildworld on 9.x first bootstraps bmake, but this failed when
building with standalone debug.  Pass in the PROGNAME override to the
'make all' stage as well as 'make install' so that the .debug file is
created with the correct name.

Reviewed by:	sjg
Sponsored by:	The FreeBSD Foundation
Approved by:	re (rodrigc)
This commit is contained in:
Ed Maste 2013-09-12 00:23:09 +00:00
parent fb9e5c2167
commit 42a6a98581
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255484

View File

@ -351,7 +351,7 @@ make bmake: .PHONY
${_+_}@cd ${.CURDIR}/usr.bin/${.TARGET}; \
${MMAKE} obj DESTDIR= && \
${MMAKE} depend DESTDIR= && \
${MMAKE} all DESTDIR= && \
${MMAKE} all DESTDIR= PROGNAME=${MYMAKE:T} && \
${MMAKE} install DESTDIR=${MYMAKE:H} BINDIR= PROGNAME=${MYMAKE:T}
tinderbox toolchains kernel-toolchains: upgrade_checks