1*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX 2*4882a593Smuzhiyun bool "BusyBox" 3*4882a593Smuzhiyun default y 4*4882a593Smuzhiyun help 5*4882a593Smuzhiyun The Swiss Army Knife of embedded Linux. It slices, it dices, 6*4882a593Smuzhiyun it makes Julian Fries. 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun http://busybox.net/ 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun Most people will answer Y. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyunif BR2_PACKAGE_BUSYBOX 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_STATIC 15*4882a593Smuzhiyun bool "Enable static" 16*4882a593Smuzhiyun default y if BR2_STATIC_LIBS 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_CONFIG 19*4882a593Smuzhiyun string "BusyBox configuration file to use?" 20*4882a593Smuzhiyun default "package/busybox/busybox.config" 21*4882a593Smuzhiyun help 22*4882a593Smuzhiyun Some people may wish to use their own modified BusyBox 23*4882a593Smuzhiyun configuration file, and will specify their config file 24*4882a593Smuzhiyun location with this option. 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun Most people will just use the default BusyBox configuration 27*4882a593Smuzhiyun file. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES 30*4882a593Smuzhiyun string "Additional BusyBox configuration fragment files" 31*4882a593Smuzhiyun help 32*4882a593Smuzhiyun A space-separated list of configuration fragment files, 33*4882a593Smuzhiyun that will be merged to the main BusyBox configuration file. 34*4882a593Smuzhiyun 35*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_UNICODE 36*4882a593Smuzhiyun bool "Enable unicode support" 37*4882a593Smuzhiyun default y 38*4882a593Smuzhiyun 39*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_UNICODE_BYPASS 40*4882a593Smuzhiyun bool "Bypass unicode when printing" 41*4882a593Smuzhiyun default y 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun# This option is not an option of Busybox, it can be selected even 44*4882a593Smuzhiyun# if Busybox is not enabled. 45*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_SHOW_OTHERS 46*4882a593Smuzhiyun bool "Show packages that are also provided by busybox" 47*4882a593Smuzhiyun help 48*4882a593Smuzhiyun Show packages in menuconfig that are potentially also provided 49*4882a593Smuzhiyun by busybox. 50*4882a593Smuzhiyun 51*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_SELINUX 52*4882a593Smuzhiyun bool "Enable SELinux support" 53*4882a593Smuzhiyun default y 54*4882a593Smuzhiyun depends on BR2_PACKAGE_LIBSELINUX 55*4882a593Smuzhiyun select BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES 56*4882a593Smuzhiyun help 57*4882a593Smuzhiyun Enable SELinux support in BusyBox. Please note that 58*4882a593Smuzhiyun depending on your BusyBox configuration and the SELinux 59*4882a593Smuzhiyun policy implementation, you may want to also enable 60*4882a593Smuzhiyun BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES. 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun For instance, if your BusyBox configuration only uses a 63*4882a593Smuzhiyun couple of minor BusyBox features, such as simple command 64*4882a593Smuzhiyun line utilities, the symlinked version of BusyBox can be used 65*4882a593Smuzhiyun to save space. If BusyBox provides more features, such as 66*4882a593Smuzhiyun crond, then individual binaries have to be enabled for the 67*4882a593Smuzhiyun SELinux type transitions to occur properly. 68*4882a593Smuzhiyun 69*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES 70*4882a593Smuzhiyun bool "Individual binaries" 71*4882a593Smuzhiyun depends on !BR2_STATIC_LIBS 72*4882a593Smuzhiyun help 73*4882a593Smuzhiyun By default (i.e with this option disabled), Busybox is 74*4882a593Smuzhiyun installed as a single binary in /bin/busybox and all applets 75*4882a593Smuzhiyun are a symbolic link to /bin/busybox. 76*4882a593Smuzhiyun 77*4882a593Smuzhiyun With this option enabled, each applet is a separate binary, 78*4882a593Smuzhiyun which is needed for proper operation with SELinux. 79*4882a593Smuzhiyun 80*4882a593Smuzhiyuncomment "Busybox individual binaries need a toolchain w/ dynamic library" 81*4882a593Smuzhiyun depends on BR2_STATIC_LIBS 82*4882a593Smuzhiyun 83*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_WATCHDOG 84*4882a593Smuzhiyun bool "Install the watchdog daemon startup script" 85*4882a593Smuzhiyun help 86*4882a593Smuzhiyun Install the watchdog daemon startup script, 87*4882a593Smuzhiyun that just start at the boot the busybox watchdog daemon. 88*4882a593Smuzhiyun 89*4882a593Smuzhiyunif BR2_PACKAGE_BUSYBOX_WATCHDOG 90*4882a593Smuzhiyun 91*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD 92*4882a593Smuzhiyun string "Delay between reset" 93*4882a593Smuzhiyun default "5" 94*4882a593Smuzhiyun help 95*4882a593Smuzhiyun Select the number of seconds between each 96*4882a593Smuzhiyun reset of the watchdog (default 5) 97*4882a593Smuzhiyun 98*4882a593Smuzhiyun Use ms suffix to specify milliseconds (e.g. 500ms) 99*4882a593Smuzhiyun 100*4882a593Smuzhiyunendif 101*4882a593Smuzhiyun 102*4882a593Smuzhiyunendif 103*4882a593Smuzhiyun 104*4882a593Smuzhiyunif !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else 105*4882a593Smuzhiyun 106*4882a593Smuzhiyuncomment "You may need to enable other packages to get a working system" 107*4882a593Smuzhiyuncomment "You better know what you're doing!" 108*4882a593Smuzhiyun 109*4882a593Smuzhiyun# This option is not an option of Busybox, it can be selected even if 110*4882a593Smuzhiyun# Busybox is not enabled. This dummy option ensures that packages that 111*4882a593Smuzhiyun# depend on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS are visible when Busybox 112*4882a593Smuzhiyun# is disabled. 113*4882a593Smuzhiyunconfig BR2_PACKAGE_BUSYBOX_SHOW_OTHERS 114*4882a593Smuzhiyun default y 115*4882a593Smuzhiyunendif 116