Changeset 3286

Show
Ignore:
Timestamp:
07/19/07 15:38:19 (1 year ago)
Author:
tg
Message:

by request of ms@ allow the user to place a bbconfig.custom here

to generate it: make package=busybox patch; cd build*/w-busybox*/busy*
and make menuconfig, then use the .config file created

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/busybox

    • Property svn:ignore changed from
      info.mk
      to
      bbconfig.custom
      info.mk
  • trunk/freewrt/package/busybox/Config.in

    r3234 r3286  
    1212          Most people will answer Y. 
    1313 
     14choice 
     15prompt "busybox configuration" 
     16depends on FWRT_PACKAGE_BUSYBOX 
     17default FWRT_PACKAGE_BUSYBOX_SMALL 
     18 
    1419config FWRT_PACKAGE_BUSYBOX_SMALL 
    1520        bool "  Build an extra small busybox" 
    16         depends on FWRT_PACKAGE_BUSYBOX 
    17         default y 
    1821        help 
    1922          This will keep a few applets out of busybox for the sake of size. 
     23 
     24config FWRT_PACKAGE_BUSYBOX_FULL 
     25        bool "  Build a full-featured busybox" 
     26 
     27config FWRT_PACKAGE_BUSYBOX_CUSTOM 
     28        bool "  Use bbconfig.custom" 
     29        help 
     30          Experts only! 
     31 
     32endchoice 
  • trunk/freewrt/package/busybox/Makefile

    r3239 r3286  
    2020ifneq ($(strip ${FWRT_PACKAGE_BUSYBOX_SMALL}),) 
    2121BBCONFIG_TO_USE=        bbconfig.norm 
     22else ifneq ($(strip ${FWRT_PACKAGE_BUSYBOX_CUSTOM}),) 
     23BBCONFIG_TO_USE=        bbconfig.custom 
    2224else 
    2325BBCONFIG_TO_USE=        bbconfig.full 
     
    2527 
    2628do-configure: 
     29        @if [[ ! -e ${BBCONFIG_TO_USE} ]]; then \ 
     30                echo FATAL ERROR: Busybox configuration file not found.; \ 
     31                exit 1; \ 
     32        fi 
    2733        sed 's@IDIR@${IDIR_BUSYBOX}' ${BBCONFIG_TO_USE} >${WRKBUILD}/.config 
    2834        yes '' | \