gluon/targets/generic
Matthias Schiffer 08cbbf9925
build: move all generic config generation to targets/generic
As the default package list is now handled using the 'packages' directive,
explicit wpad-mini removals in target definitions can be dropped.
2017-09-07 03:21:42 +02:00

38 lines
1009 B
Plaintext

[ "$GLUON_SITEDIR" -a "$GLUON_RELEASE" -a "$BOARD" ] || exit 1
config "CONFIG_GLUON_SITEDIR=\"$GLUON_SITEDIR\""
config "CONFIG_GLUON_RELEASE=\"$GLUON_RELEASE\""
try_config "CONFIG_GLUON_BRANCH=\"$GLUON_BRANCH\""
for lang in $GLUON_LANGS; do
try_config "CONFIG_GLUON_WEB_LANG_${lang}=y"
done
[ "$BOARD" ] && config "CONFIG_TARGET_${BOARD}=y"
[ -z "$SUBTARGET" ] || config "CONFIG_TARGET_${BOARD}_${SUBTARGET}=y"
config '# CONFIG_TARGET_ROOTFS_INITRAMFS is not set'
config 'CONFIG_ALL_NONSHARED=y'
config 'CONFIG_BUSYBOX_CUSTOM=y'
config '# CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set'
config 'CONFIG_PACKAGE_ATH_DEBUG=y'
try_config 'CONFIG_TARGET_MULTI_PROFILE=y'
try_config 'CONFIG_TARGET_PER_DEVICE_ROOTFS=y'
if [ "$GLUON_DEBUG" ]
then
config 'CONFIG_DEBUG=y'
config 'CONFIG_NO_STRIP=y'
config '# CONFIG_USE_STRIP is not set'
config '# CONFIG_USE_SSTRIP is not set'
fi
packages '-odhcpd' '-ppp' '-ppp-mod-pppoe' '-wpad-mini'
packages 'gluon-core' 'ip6tables' 'hostapd-mini'