mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 21:13:11 +01:00
Omit from the universe build all config files tagged with
#NO_UNIVERSE. Many of these config files are important examples, but add little to no regresive value to the intended purpose of UNIVERSE. We now build over 120 kernels during universe. There's really little to no value to this over building say 60 or even 30 of them (either is still a way too big number). This is especially true for kernels that are nothing more than including a common base and adding a static DTB file. Start by pruning 1/3 of the arm kernels that add little regresion value.
This commit is contained in:
parent
0edb735169
commit
7621eebbb1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265155
8
Makefile
8
Makefile
@ -458,9 +458,15 @@ universe_kernels: universe_kernconfs
|
|||||||
.if !defined(TARGET)
|
.if !defined(TARGET)
|
||||||
TARGET!= uname -m
|
TARGET!= uname -m
|
||||||
.endif
|
.endif
|
||||||
|
.if defined(MAKE_ALL_KERNELS)
|
||||||
|
_THINNER=cat
|
||||||
|
.else
|
||||||
|
_THINNER=xargs grep -L "^.NO_UNIVERSE"
|
||||||
|
.endif
|
||||||
KERNCONFS!= cd ${KERNSRCDIR}/${TARGET}/conf && \
|
KERNCONFS!= cd ${KERNSRCDIR}/${TARGET}/conf && \
|
||||||
find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \
|
find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \
|
||||||
! -name DEFAULTS ! -name NOTES
|
! -name DEFAULTS ! -name NOTES | \
|
||||||
|
${_THINNER}
|
||||||
universe_kernconfs:
|
universe_kernconfs:
|
||||||
.for kernel in ${KERNCONFS}
|
.for kernel in ${KERNCONFS}
|
||||||
TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \
|
TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
include "EXYNOS5250.common"
|
include "EXYNOS5250.common"
|
||||||
ident ARNDALE
|
ident ARNDALE
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident BWCT
|
ident BWCT
|
||||||
|
|
||||||
options VERBOSE_INIT_ARM
|
options VERBOSE_INIT_ARM
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
include "VYBRID.common"
|
#NO_UNIVERSE
|
||||||
|
|
||||||
|
include "VYBRID"
|
||||||
ident COLIBRI-VF50
|
ident COLIBRI-VF50
|
||||||
|
|
||||||
#FDT
|
#FDT
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
include "VYBRID.common"
|
#NO_UNIVERSE
|
||||||
|
|
||||||
|
include "VYBRID"
|
||||||
ident COSMIC
|
ident COSMIC
|
||||||
|
|
||||||
#FDT
|
#FDT
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident EB9200
|
ident EB9200
|
||||||
|
|
||||||
include "../at91/std.eb9200"
|
include "../at91/std.eb9200"
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident ETHERNUT5
|
ident ETHERNUT5
|
||||||
|
|
||||||
include "../at91/std.ethernut5"
|
include "../at91/std.ethernut5"
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident HL200
|
ident HL200
|
||||||
|
|
||||||
include "../at91/std.hl200"
|
include "../at91/std.hl200"
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident HL201
|
ident HL201
|
||||||
|
|
||||||
include "../at91/std.hl201"
|
include "../at91/std.hl201"
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident KB920X
|
ident KB920X
|
||||||
|
|
||||||
include "../at91/std.kb920x"
|
include "../at91/std.kb920x"
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident NSLU
|
ident NSLU
|
||||||
|
|
||||||
# XXX What is defined in std.avila does not exactly match the following:
|
# XXX What is defined in std.avila does not exactly match the following:
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident QILA9G20
|
ident QILA9G20
|
||||||
|
|
||||||
include "../at91/std.qila9g20"
|
include "../at91/std.qila9g20"
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
include "VYBRID.common"
|
#NO_UNIVERSE
|
||||||
|
|
||||||
|
include "VYBRID"
|
||||||
ident QUARTZ
|
ident QUARTZ
|
||||||
|
|
||||||
#FDT
|
#FDT
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident SAM9260EK
|
ident SAM9260EK
|
||||||
|
|
||||||
include "../at91/std.sam9260ek"
|
include "../at91/std.sam9260ek"
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
# NOUNIVERSE: disable building in make universe
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident SAM9X25EK
|
ident SAM9X25EK
|
||||||
|
|
||||||
include "../at91/std.sam9x25ek"
|
include "../at91/std.sam9x25ek"
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
ident SN9G45
|
ident SN9G45
|
||||||
|
|
||||||
include "../at91/std.sn9g45"
|
include "../at91/std.sn9g45"
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
ident VYBRID
|
||||||
include "../freescale/vybrid/std.vybrid"
|
include "../freescale/vybrid/std.vybrid"
|
||||||
|
|
||||||
makeoptions MODULES_OVERRIDE=""
|
makeoptions MODULES_OVERRIDE=""
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
include "IMX6"
|
include "IMX6"
|
||||||
ident WANDBOARD-DUAL
|
ident WANDBOARD-DUAL
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
include "IMX6"
|
include "IMX6"
|
||||||
ident WANDBOARD-QUAD
|
ident WANDBOARD-QUAD
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#NO_UNIVERSE
|
||||||
|
|
||||||
include "IMX6"
|
include "IMX6"
|
||||||
ident WANDBOARD-SOLO
|
ident WANDBOARD-SOLO
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user