generic 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [ "$GLUON_SITEDIR" -a "$GLUON_RELEASE" -a "$BOARD" ] || exit 1
  2. config "CONFIG_GLUON_SITEDIR=\"$GLUON_SITEDIR\""
  3. config "CONFIG_GLUON_RELEASE=\"$GLUON_RELEASE\""
  4. try_config "CONFIG_GLUON_BRANCH=\"$GLUON_BRANCH\""
  5. for lang in $GLUON_LANGS; do
  6. try_config "CONFIG_GLUON_WEB_LANG_${lang}=y"
  7. done
  8. [ "$BOARD" ] && config "CONFIG_TARGET_${BOARD}=y"
  9. [ -z "$SUBTARGET" ] || config "CONFIG_TARGET_${BOARD}_${SUBTARGET}=y"
  10. config '# CONFIG_TARGET_ROOTFS_INITRAMFS is not set'
  11. config 'CONFIG_ALL_NONSHARED=y'
  12. config 'CONFIG_BUSYBOX_CUSTOM=y'
  13. config '# CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set'
  14. config 'CONFIG_PACKAGE_ATH_DEBUG=y'
  15. try_config 'CONFIG_TARGET_MULTI_PROFILE=y'
  16. try_config 'CONFIG_TARGET_PER_DEVICE_ROOTFS=y'
  17. if [ "$GLUON_MULTIDOMAIN" = 1 ]; then
  18. config 'CONFIG_GLUON_MULTIDOMAIN=y'
  19. fi
  20. if [ "$GLUON_DEBUG" = 1 ]; then
  21. config 'CONFIG_DEBUG=y'
  22. config 'CONFIG_NO_STRIP=y'
  23. config '# CONFIG_USE_STRIP is not set'
  24. config '# CONFIG_USE_SSTRIP is not set'
  25. fi
  26. packages '-odhcpd' '-ppp' '-ppp-mod-pppoe' '-wpad-mini'
  27. packages 'gluon-core' 'ip6tables' 'hostapd-mini'