summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-18 00:21:14 +0000
committerian <ian@FreeBSD.org>2014-05-18 00:21:14 +0000
commit1facc10d63c43e5823ab879fbb0f3d0d9a0e49ae (patch)
treed36f5025c1984a6eb4b4007307e7bf9b16265332 /Makefile
parent407aec60d3fc9b7b4504b70997feac179121e5a0 (diff)
downloadFreeBSD-src-1facc10d63c43e5823ab879fbb0f3d0d9a0e49ae.zip
FreeBSD-src-1facc10d63c43e5823ab879fbb0f3d0d9a0e49ae.tar.gz
MFC 265155, 265254:
Omit from the universe build all config files tagged with #NO_UNIVERSE. Add FDT to the VYBRID kernel.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 98b33d3..bb7a506 100644
--- a/Makefile
+++ b/Makefile
@@ -473,9 +473,15 @@ universe_kernels: universe_kernconfs
.if !defined(TARGET)
TARGET!= uname -m
.endif
+.if defined(MAKE_ALL_KERNELS)
+_THINNER=cat
+.else
+_THINNER=xargs grep -L "^.NO_UNIVERSE"
+.endif
KERNCONFS!= cd ${KERNSRCDIR}/${TARGET}/conf && \
find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \
- ! -name DEFAULTS ! -name NOTES
+ ! -name DEFAULTS ! -name NOTES | \
+ ${_THINNER}
universe_kernconfs:
.for kernel in ${KERNCONFS}
TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \
OpenPOWER on IntegriCloud