2004-10-09 03:06:03 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX
|
2005-04-12 22:32:45 +02:00
|
|
|
bool "BusyBox"
|
2004-10-09 03:06:03 +02:00
|
|
|
default y
|
|
|
|
help
|
2015-04-23 00:14:34 +02:00
|
|
|
The Swiss Army Knife of embedded Linux. It slices, it dices, it
|
2004-10-09 03:06:03 +02:00
|
|
|
makes Julian Fries.
|
|
|
|
|
2004-12-26 08:16:38 +01:00
|
|
|
http://busybox.net/
|
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
Most people will answer Y.
|
|
|
|
|
2010-04-02 12:27:21 +02:00
|
|
|
if BR2_PACKAGE_BUSYBOX
|
|
|
|
|
2005-04-12 22:32:45 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_CONFIG
|
|
|
|
string "BusyBox configuration file to use?"
|
busybox: support only one version
This commit removes the version selection for the busybox
package. Busybox is very well maintained, and bugs are typically fixed
in a timely fashion. Moreover, regressions are fairly unlikely in this
very stable and well-tested tool.
Therefore, there isn't a very compelling reason to have a version
selection for Busybox since we don't accept such a version selection
for the vast majority of other packages, unless there is a strong
reason to do so.
Consequently, this commit:
* Removes the 1.19.4, 1.20.2 and 1.21.1 Busybox versions, patches and
default configuration file.
* Moves the 1.22.1 patches from package/busybox/1.22.1 to just
package/busybox/ like all other packages.
* Renames the default 1.22.1 configuration file to just
busybox.config.
* Adapts the busybox.mk makefile to encode the current version to
use.
* Adds appropriate options to Config.in.legacy. However, even though
the BR2_BUSYBOX_VERSION_1_22_X is removed, we don't add a
Config.in.legacy option for it, since it would cause a legacy
warning for virtually *all* users as most people are currently
using 1.22.x.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-01 20:03:09 +02:00
|
|
|
default "package/busybox/busybox.config"
|
2005-04-12 22:32:45 +02:00
|
|
|
help
|
|
|
|
Some people may wish to use their own modified BusyBox configuration
|
|
|
|
file, and will specify their config file location with this option.
|
|
|
|
|
|
|
|
Most people will just use the default BusyBox configuration file.
|
2007-01-17 12:48:11 +01:00
|
|
|
|
2015-04-28 16:34:33 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES
|
|
|
|
string "Additional BusyBox configuration fragment files"
|
|
|
|
help
|
|
|
|
A space-separated list of configuration fragment files,
|
|
|
|
that will be merged to the main BusyBox configuration file.
|
|
|
|
|
2009-10-15 10:15:47 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
2011-07-27 21:08:21 +02:00
|
|
|
bool "Show packages that are also provided by busybox"
|
2007-09-25 09:55:45 +02:00
|
|
|
help
|
2009-10-15 10:15:47 +02:00
|
|
|
Show packages in menuconfig that are potentially also provided
|
2007-09-25 09:55:45 +02:00
|
|
|
by busybox.
|
|
|
|
|
2015-07-14 22:20:17 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_SELINUX
|
|
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
depends on !BR2_STATIC_LIBS
|
2015-08-19 20:33:34 +02:00
|
|
|
depends on !BR2_arc
|
2015-07-14 22:20:17 +02:00
|
|
|
bool "Enable SELinux support"
|
|
|
|
help
|
|
|
|
Enable SELinux support in BusyBox. Please note that
|
|
|
|
depending on your BusyBox configuration and the SELinux
|
|
|
|
policy implementation, you may want to also enable
|
|
|
|
BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES.
|
|
|
|
|
|
|
|
For instance, if your BusyBox configuration only uses a
|
|
|
|
couple of minor BusyBox features, such as simple command
|
|
|
|
line utilities, the symlinked version of BusyBox can be used
|
|
|
|
to save space. If BusyBox provides more features, such as
|
|
|
|
crond, then individual binaries have to be enabled for the
|
|
|
|
SELinux type transitions to occur properly.
|
|
|
|
|
2012-05-04 04:02:13 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_WATCHDOG
|
|
|
|
bool "Install the watchdog daemon startup script"
|
|
|
|
help
|
|
|
|
Install the watchdog daemon startup script,
|
|
|
|
that just start at the boot the busybox watchdog daemon.
|
|
|
|
|
|
|
|
if BR2_PACKAGE_BUSYBOX_WATCHDOG
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD
|
2013-02-18 01:38:31 +01:00
|
|
|
string "Delay between reset"
|
2012-05-04 04:02:13 +02:00
|
|
|
default "5"
|
|
|
|
help
|
|
|
|
Select the number of seconds between each
|
|
|
|
reset of the watchdog (default 5)
|
|
|
|
|
2013-02-18 01:38:31 +01:00
|
|
|
Use ms suffix to specify milliseconds (e.g. 500ms)
|
|
|
|
|
2012-05-04 04:02:13 +02:00
|
|
|
endif
|
|
|
|
|
2010-04-02 12:27:21 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
if !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else
|
|
|
|
|
|
|
|
# add dummy config so the stuff with busybox alternatives are shown
|
|
|
|
# when busybox is disabled
|
|
|
|
config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
2013-11-11 17:23:23 +01:00
|
|
|
default y
|
2010-04-02 12:27:21 +02:00
|
|
|
endif
|