summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-09-12 00:23:09 +0000
committeremaste <emaste@FreeBSD.org>2013-09-12 00:23:09 +0000
commitd9412a6c2df8ef63cd5411ed888c7458f2929719 (patch)
treec2e5e133c85abf8ec49acfbcf5d5cf4b3d5d7c95
parent457a4abaaa7de84cf5a48440b6a97a66bcabbb7b (diff)
downloadFreeBSD-src-d9412a6c2df8ef63cd5411ed888c7458f2929719.zip
FreeBSD-src-d9412a6c2df8ef63cd5411ed888c7458f2929719.tar.gz
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)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d324c7d..da642f8 100644
--- a/Makefile
+++ b/Makefile
@@ -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
OpenPOWER on IntegriCloud