From aa9bd11d5d12ddc394c1868430ead2e6e61e4178 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Sun, 30 Nov 2014 18:50:15 +0000 Subject: [PATCH] If we are doing META_MODE use targets/Makefile as top-level since this one isn't suitable. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 3951269382ac..d2a5f3a5d108 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