Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2013 16:05:49 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r256636 - projects/bmake
Message-ID:  <201310161605.r9GG5nKi016528@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sjg
Date: Wed Oct 16 16:05:49 2013
New Revision: 256636
URL: http://svnweb.freebsd.org/changeset/base/256636

Log:
  Make it possible to buildworld, while producing .meta files to aid
  debugging.

Modified:
  projects/bmake/Makefile

Modified: projects/bmake/Makefile
==============================================================================
--- projects/bmake/Makefile	Wed Oct 16 16:05:12 2013	(r256635)
+++ projects/bmake/Makefile	Wed Oct 16 16:05:49 2013	(r256636)
@@ -500,11 +500,19 @@ buildLINT:
 	${MAKE} -C ${.CURDIR}/sys/${_TARGET}/conf LINT
 
 .if defined(.PARSEDIR)
-# this makefile does not run in meta mode
+# This makefile does not run in meta mode
 .MAKE.MODE= normal
-# make sure things we run from here don't either
+# Normally the things we run from here don't either.
+# Using -DWITH_META_FILES -DWITHOUT_STAGING
+# we can buildworld with meta files created which are useful 
+# for debugging, but without any of the rest of a meta mode build.
+.ifndef WITH_META_FILES
 WITHOUT_META_MODE=
 .export WITHOUT_META_MODE
+.else
+UPDATE_DEPENDFILE=NO
+.export UPDATE_DEPENDFILE
+.endif
 
 .if make(universe)
 # we do not want a failure of one branch abort all.



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