summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2014-11-30 18:50:15 +0000
committersjg <sjg@FreeBSD.org>2014-11-30 18:50:15 +0000
commitd98d3ee218059dd8665b78c83501bbe8cd4e0855 (patch)
treea519daf361ec5f9d32a3fff28239445fafc2e565 /Makefile
parentb4b6bf459e6ca2708223d1cc9a1393471bff4728 (diff)
downloadFreeBSD-src-d98d3ee218059dd8665b78c83501bbe8cd4e0855.zip
FreeBSD-src-d98d3ee218059dd8665b78c83501bbe8cd4e0855.tar.gz
If we are doing META_MODE use targets/Makefile as top-level
since this one isn't suitable.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3951269..d2a5f3a 100644
--- a/Makefile
+++ b/Makefile
@@ -99,6 +99,11 @@
#
# For more information, see the build(7) manual page.
#
+.if ${MK_META_MODE} == "yes"
+# targets/Makefile plays the role of top-level
+.include "targets/Makefile"
+.else
+
TGTS= all all-man buildenv buildenvvars buildkernel buildworld \
check-old check-old-dirs check-old-files check-old-libs \
checkdpadd clean cleandepend cleandir \
@@ -527,3 +532,4 @@ MAKE_JOB_ERROR_TOKEN= no
.export MAKE_JOB_ERROR_TOKEN
.endif
.endif
+.endif
OpenPOWER on IntegriCloud