Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2013 00:23:09 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255484 - head
Message-ID:  <201309120023.r8C0N91Q063784@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Sep 12 00:23:09 2013
New Revision: 255484
URL: http://svnweb.freebsd.org/changeset/base/255484

Log:
  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)

Modified:
  head/Makefile

Modified: head/Makefile
==============================================================================
--- head/Makefile	Thu Sep 12 00:14:25 2013	(r255483)
+++ head/Makefile	Thu Sep 12 00:23:09 2013	(r255484)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309120023.r8C0N91Q063784>