summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-10-16 16:05:49 +0000
committersjg <sjg@FreeBSD.org>2013-10-16 16:05:49 +0000
commit971be67d009b10527349111080c7c856b7eb2374 (patch)
tree187313c27861be0c71a220e0999bc656268986eb /Makefile
parentab7cd266bc446ecef527302d35a6910f1c4fc589 (diff)
downloadFreeBSD-src-971be67d009b10527349111080c7c856b7eb2374.zip
FreeBSD-src-971be67d009b10527349111080c7c856b7eb2374.tar.gz
Make it possible to buildworld, while producing .meta files to aid
debugging.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6ba3b05..e9500c7 100644
--- a/Makefile
+++ b/Makefile
@@ -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.
OpenPOWER on IntegriCloud