config: add RPI kernel config, needed some pruning

This commit is contained in:
Franco Fichtner 2016-07-18 07:10:15 +02:00
parent 0514d349a2
commit b725261952
2 changed files with 61 additions and 1 deletions

View File

@ -45,8 +45,12 @@ KERNEL_SET=${SETSDIR}/kernel-${REPO_VERSION}-${PRODUCT_ARCH}
sh ./clean.sh ${SELF}
BUILD_KERNEL="SMP"
if [ -f ${CONFIGDIR}/${BUILD_KERNEL}.${PRODUCT_ARCH} ]; then
BUILD_KERNEL="${BUILD_KERNEL}.${PRODUCT_ARCH}"
fi
cp ${CONFIGDIR}/${BUILD_KERNEL} ${SRCDIR}/sys/${PRODUCT_TARGET}/conf/${BUILD_KERNEL}
cp ${CONFIGDIR}/${BUILD_KERNEL} \
${SRCDIR}/sys/${PRODUCT_TARGET}/conf/${BUILD_KERNEL}
MAKE_ARGS="TARGET_ARCH=${PRODUCT_ARCH} TARGET=${PRODUCT_TARGET}"
MAKE_ARGS="${MAKE_ARGS} KERNCONF=${BUILD_KERNEL} __MAKE_CONF="

56
config/16.7/SMP.armv6 Normal file
View File

@ -0,0 +1,56 @@
include RPI-B
ident SMP
options DDB
options EM_MULTIQUEUE
options MROUTING
options PPS_SYNC
options TCP_SIGNATURE
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE
options IPSTEALTH
nooptions KDB_TRACE
nooptions GDB
nooptions DEADLKRES
nooptions INVARIANTS
nooptions INVARIANT_SUPPORT
nooptions WITNESS
nooptions WITNESS_SKIPSPIN
nooptions MALLOC_DEBUG_MAXZONES
nooptions FLOWTABLE
nomakeoptions DEBUG
options GEOM_MIRROR
options GEOM_UZIP
nooption GEOM_MBR
options GEOM_ELI
options GEOM_BDE
device netmap
device pf
device pflog
device pfsync
# 3G
device u3g
device uark
device uftdi
device umct
device umodem
device uplcom
device uvisor
device uvscom
# IPSec
options IPSEC
options IPSEC_NAT_T
device crypto
device enc
# HardenedBSD goodies
options PAX
options PAX_ASLR