From 42a6a985819bc4c15f7ae6ec99667ec96d3151fd Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 12 Sep 2013 00:23:09 +0000 Subject: [PATCH] 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) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d324c7dba9e3..da642f84e41e 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