diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-11-20 23:08:10 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-11-20 23:08:10 +0100 |
commit | f7f6ce0ea9f513e6183f6e7630e0fd2d82f45c1b (patch) | |
tree | 5182a501c5700bb9b0a64c45033d8686f1868c14 /busybox.kconfig | |
parent | 1caedd37842349f5717f565c07d340d3e2995e88 (diff) | |
download | embtk-busybox-kconfigs-f7f6ce0ea9f513e6183f6e7630e0fd2d82f45c1b.tar.gz embtk-busybox-kconfigs-f7f6ce0ea9f513e6183f6e7630e0fd2d82f45c1b.tar.bz2 embtk-busybox-kconfigs-f7f6ce0ea9f513e6183f6e7630e0fd2d82f45c1b.tar.xz |
Adapt kconfig symbols for embtk
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'busybox.kconfig')
-rw-r--r-- | busybox.kconfig | 142 |
1 files changed, 71 insertions, 71 deletions
diff --git a/busybox.kconfig b/busybox.kconfig index a553edd..fe0f978 100644 --- a/busybox.kconfig +++ b/busybox.kconfig @@ -5,7 +5,7 @@ mainmenu "BusyBox Configuration" -config HAVE_DOT_CONFIG +config KEMBTK_BUSYB_HAVE_DOT_CONFIG bool default y @@ -13,14 +13,14 @@ menu "Busybox Settings" menu "General Configuration" -config DESKTOP +config KEMBTK_BUSYB_DESKTOP bool "Enable options for full-blown desktop systems" help Enable options and features which are not essential. Select this only if you plan to use busybox on full-blown desktop machine with common Linux distro, not on an embedded box. -config EXTRA_COMPAT +config KEMBTK_BUSYB_EXTRA_COMPAT bool "Provide compatible behavior for rare corner cases (bigger code)" help This option makes grep, sed etc handle rare corner cases @@ -28,7 +28,7 @@ config EXTRA_COMPAT some GNU extensions in libc. You probably only need this option if you plan to run busybox on desktop. -config FEATURE_ASSUME_UNICODE +config KEMBTK_BUSYB_FEATURE_ASSUME_UNICODE bool "Assume that 1:1 char/glyph correspondence is not true" help This makes various applets aware that one byte is not @@ -51,18 +51,18 @@ choice behavior was the only one available for BusyBox versions 0.48 and earlier. -config FEATURE_BUFFERS_USE_MALLOC +config KEMBTK_BUSYB_FEATURE_BUFFERS_USE_MALLOC bool "Allocate with Malloc" -config FEATURE_BUFFERS_GO_ON_STACK +config KEMBTK_BUSYB_FEATURE_BUFFERS_GO_ON_STACK bool "Allocate on the Stack" -config FEATURE_BUFFERS_GO_IN_BSS +config KEMBTK_BUSYB_FEATURE_BUFFERS_GO_IN_BSS bool "Allocate in the .bss section" endchoice -config SHOW_USAGE +config KEMBTK_BUSYB_SHOW_USAGE bool "Show terse applet usage messages" default y help @@ -71,19 +71,19 @@ config SHOW_USAGE messages if you say no here. This will save you up to 7k. -config FEATURE_VERBOSE_USAGE +config KEMBTK_BUSYB_FEATURE_VERBOSE_USAGE bool "Show verbose applet usage messages" - select SHOW_USAGE + select KEMBTK_BUSYB_SHOW_USAGE help All BusyBox applets will show more verbose help messages when busybox is invoked with --help. This will add a lot of text to the busybox binary. In the default configuration, this will add about 13k, but it can add much more depending on your configuration. -config FEATURE_COMPRESS_USAGE +config KEMBTK_BUSYB_FEATURE_COMPRESS_USAGE bool "Store applet usage messages in compressed form" default y - depends on SHOW_USAGE + depends on KEMBTK_BUSYB_SHOW_USAGE help Store usage messages in compressed form, uncompress them on-the-fly when <applet> --help is called. @@ -94,27 +94,27 @@ config FEATURE_COMPRESS_USAGE and have very little memory, this might not be a win. Otherwise, you probably want this. -config FEATURE_INSTALLER +config KEMBTK_BUSYB_FEATURE_INSTALLER bool "Support --install [-s] to install applet links at runtime" help Enable 'busybox --install [-s]' support. This will allow you to use busybox at runtime to create hard links or symlinks for all the applets that are compiled into busybox. -config LOCALE_SUPPORT +config KEMBTK_BUSYB_LOCALE_SUPPORT bool "Enable locale support (system needs locale for this to work)" help Enable this if your system has locale support and you would like busybox to support locale settings. -config GETOPT_LONG +config KEMBTK_BUSYB_GETOPT_LONG bool "Support for --long-options" default y help Enable this if you want busybox applets to use the gnu --long-option style, in addition to single character -a -b -c style options. -config FEATURE_DEVPTS +config KEMBTK_BUSYB_FEATURE_DEVPTS bool "Use the devpts filesystem for Unix98 PTYs" default y help @@ -124,7 +124,7 @@ config FEATURE_DEVPTS /dev/ttyp<number> will be used. To use this option, you should have devpts mounted. -config FEATURE_CLEAN_UP +config KEMBTK_BUSYB_FEATURE_CLEAN_UP bool "Clean up all memory before exiting (usually not needed)" help As a size optimization, busybox normally exits without explicitly @@ -135,14 +135,14 @@ config FEATURE_CLEAN_UP Don't enable this unless you have a really good reason to clean things up manually. -config FEATURE_PIDFILE +config KEMBTK_BUSYB_FEATURE_PIDFILE bool "Support writing pidfiles" help This option makes some applets (e.g. crond, syslogd, inetd) write a pidfile in /var/run. Some applications rely on them. -config FEATURE_SUID - bool "Support for SUID/SGID handling" +config KEMBTK_BUSYB_FEATURE_SUID + bool "Support for KEMBTK_BUSYB_SUID/SGID handling" help With this option you can install the busybox binary belonging to root with the suid bit set, and it will automatically drop @@ -157,11 +157,11 @@ config FEATURE_SUID crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su, traceroute, vlock. -config FEATURE_SUID_CONFIG - bool "Runtime SUID/SGID configuration via /etc/busybox.conf" - depends on FEATURE_SUID +config KEMBTK_BUSYB_FEATURE_SUID_CONFIG + bool "Runtime KEMBTK_BUSYB_SUID/SGID configuration via /etc/busybox.conf" + depends on KEMBTK_BUSYB_FEATURE_SUID help - Allow the SUID / SGID state of an applet to be determined at runtime + Allow the KEMBTK_BUSYB_SUID / SGID state of an applet to be determined at runtime by checking /etc/busybox.conf. (This is sort of a poor man's sudo.) The format of this file is as follows: @@ -189,16 +189,16 @@ config FEATURE_SUID_CONFIG Robert 'sandman' Griebl has more information here: <url: http://www.softforge.de/bb/suid.html >. -config FEATURE_SUID_CONFIG_QUIET +config KEMBTK_BUSYB_FEATURE_SUID_CONFIG_QUIET bool "Suppress warning message if /etc/busybox.conf is not readable" default y - depends on FEATURE_SUID_CONFIG + depends on KEMBTK_BUSYB_FEATURE_SUID_CONFIG help - /etc/busybox.conf should be readable by the user needing the SUID, + /etc/busybox.conf should be readable by the user needing the KEMBTK_BUSYB_SUID, check this option to avoid users to be notified about missing permissions. -config SELINUX +config KEMBTK_BUSYB_SELINUX bool "Support NSA Security Enhanced Linux" help Enable support for SELinux in applets ls, ps, and id. Also provide @@ -217,7 +217,7 @@ config SELINUX Most people will leave this set to 'N'. -config FEATURE_PREFER_APPLETS +config KEMBTK_BUSYB_FEATURE_PREFER_APPLETS bool "exec prefers applets" help This is an experimental option which directs applets about to @@ -230,7 +230,7 @@ config FEATURE_PREFER_APPLETS problems in chroot jails without mounted /proc and with ps/top (command name can be shown as 'exe' for applets started this way). -config BUSYBOX_EXEC_PATH +config KEMBTK_BUSYB_BUSYBOX_EXEC_PATH string "Path to BusyBox executable" default "/proc/self/exe" help @@ -242,13 +242,13 @@ config BUSYBOX_EXEC_PATH # These are auto-selected by other options -config FEATURE_SYSLOG +config KEMBTK_BUSYB_FEATURE_SYSLOG bool #No description makes it a hidden option #help # This option is auto-selected when you select any applet which may # send its output to syslog. You do not need to select it manually. -config FEATURE_HAVE_RPC +config KEMBTK_BUSYB_FEATURE_HAVE_RPC bool #No description makes it a hidden option #help # This is automatically selected if any of enabled applets need it. @@ -258,7 +258,7 @@ endmenu menu 'Build Options' -config STATIC +config KEMBTK_BUSYB_STATIC bool "Build BusyBox as a static binary (no shared libs)" help If you want to build a static BusyBox binary, which does not @@ -271,26 +271,26 @@ config STATIC Most people will leave this set to 'N'. -config PIE +config KEMBTK_BUSYB_PIE bool "Build BusyBox as a position independent executable" depends on !STATIC help (TODO: what is it and why/when is it useful?) Most people will leave this set to 'N'. -config NOMMU - bool "Force NOMMU build" +config KEMBTK_BUSYB_NOMMU + bool "Force KEMBTK_BUSYB_NOMMU build" help Busybox tries to detect whether architecture it is being built against supports MMU or not. If this detection fails, - or if you want to build NOMMU version of busybox for testing, - you may force NOMMU build here. + or if you want to build KEMBTK_BUSYB_NOMMU version of busybox for testing, + you may force KEMBTK_BUSYB_NOMMU build here. Most people will leave this set to 'N'. -# PIE can be made to work with BUILD_LIBBUSYBOX, but currently +# KEMBTK_BUSYB_PIE can be made to work with KEMBTK_BUSYB_BUILD_LIBBUSYBOX, but currently # build system does not support that -config BUILD_LIBBUSYBOX +config KEMBTK_BUSYB_BUILD_LIBBUSYBOX bool "Build shared libbusybox" depends on !FEATURE_PREFER_APPLETS && !PIE && !STATIC help @@ -304,7 +304,7 @@ config BUILD_LIBBUSYBOX ### config FEATURE_FULL_LIBBUSYBOX ### bool "Feature-complete libbusybox" -### depends on BUILD_LIBBUSYBOX +### depends on KEMBTK_BUSYB_BUILD_LIBBUSYBOX ### help ### Build a libbusybox with the complete feature-set, disregarding ### the actually selected config. @@ -320,17 +320,17 @@ config BUILD_LIBBUSYBOX ### ### Say 'N' if in doubt. -config FEATURE_INDIVIDUAL +config KEMBTK_BUSYB_FEATURE_INDIVIDUAL bool "Produce a binary for each applet, linked against libbusybox" default y - depends on BUILD_LIBBUSYBOX + depends on KEMBTK_BUSYB_BUILD_LIBBUSYBOX help - If your CPU architecture doesn't allow for sharing text/rodata + If your KEMBTK_BUSYB_CPU architecture doesn't allow for sharing text/rodata sections of running binaries, but allows for runtime dynamic libraries, this option will allow you to reduce memory footprint when you have many different applets running at once. - If your CPU architecture allows for sharing text/rodata, + If your KEMBTK_BUSYB_CPU architecture allows for sharing text/rodata, having single binary is more optimal. Each applet will be a tiny program, dynamically linked @@ -338,10 +338,10 @@ config FEATURE_INDIVIDUAL You need to have a working dynamic linker. -config FEATURE_SHARED_BUSYBOX +config KEMBTK_BUSYB_FEATURE_SHARED_BUSYBOX bool "Produce additional busybox binary linked against libbusybox" default y - depends on BUILD_LIBBUSYBOX + depends on KEMBTK_BUSYB_BUILD_LIBBUSYBOX help Build busybox, dynamically linked against libbusybox.so.N.N.N. @@ -365,9 +365,9 @@ config FEATURE_SHARED_BUSYBOX ### ### Say 'N' unless you know what you are doing. -config LFS +config KEMBTK_BUSYB_LFS bool "Build with Large File Support (for accessing files > 2 GB)" - select FDISK_SUPPORT_LARGE_DISKS + select KEMBTK_BUSYB_FDISK_SUPPORT_LARGE_DISKS help If you want to build BusyBox with large file support, then enable this option. This will have no effect if your kernel or your C @@ -376,7 +376,7 @@ config LFS cp, mount, tar, and many others. If you want to access files larger than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'. -config CROSS_COMPILER_PREFIX +config KEMBTK_BUSYB_CROSS_COMPILER_PREFIX string "Cross Compiler prefix" default "" help @@ -393,7 +393,7 @@ endmenu menu 'Debugging Options' -config DEBUG +config KEMBTK_BUSYB_DEBUG bool "Build BusyBox with extra Debugging symbols" help Say Y here if you wish to examine BusyBox internals while applets are @@ -403,9 +403,9 @@ config DEBUG Most people should answer N. -config DEBUG_PESSIMIZE +config KEMBTK_BUSYB_DEBUG_PESSIMIZE bool "Disable compiler optimizations" - depends on DEBUG + depends on KEMBTK_BUSYB_DEBUG help The compiler's optimization of source code can eliminate and reorder code, resulting in an executable that's hard to understand when @@ -413,7 +413,7 @@ config DEBUG_PESSIMIZE in a much bigger executable that more closely matches the source code. -config WERROR +config KEMBTK_BUSYB_WERROR bool "Abort compilation on any warning" help Selecting this will add -Werror to gcc command line. @@ -433,7 +433,7 @@ choice which is an excellent public domain mem leak and malloc problem detector. To enable dmalloc, before running busybox you will want to properly set your environment, for example: - export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile + export KEMBTK_BUSYB_DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile The 'debug=' value is generated using the following command dmalloc -p log-stats -p log-non-free -p log-bad-space \ -p log-elapsed-time -p check-fence -p check-heap \ @@ -450,19 +450,19 @@ choice you are hunting a hard to find memory problem. -config NO_DEBUG_LIB +config KEMBTK_BUSYB_NO_DEBUG_LIB bool "None" -config DMALLOC +config KEMBTK_BUSYB_DMALLOC bool "Dmalloc" -config EFENCE +config KEMBTK_BUSYB_EFENCE bool "Electric-fence" endchoice -config INCLUDE_SUSv2 - bool "Enable obsolete features removed before SUSv3?" +config KEMBTK_BUSYB_INCLUDE_SUSv2 + bool "Enable obsolete features removed before KEMBTK_BUSYB_SUSv3?" default y help This option will enable backwards compatibility with SuSv2, @@ -477,7 +477,7 @@ endmenu menu 'Installation Options' -config INSTALL_NO_USR +config KEMBTK_BUSYB_INSTALL_NO_USR bool "Don't use /usr" help Disable use of /usr. Don't activate this option if you don't know @@ -488,27 +488,27 @@ choice help Choose how you install applets links. -config INSTALL_APPLET_SYMLINKS +config KEMBTK_BUSYB_INSTALL_APPLET_SYMLINKS bool "as soft-links" help Install applets as soft-links to the busybox binary. This needs some free inodes on the filesystem, but might help with filesystem generators that can't cope with hard-links. -config INSTALL_APPLET_HARDLINKS +config KEMBTK_BUSYB_INSTALL_APPLET_HARDLINKS bool "as hard-links" help Install applets as hard-links to the busybox binary. This might count on a filesystem with few inodes. -config INSTALL_APPLET_SCRIPT_WRAPPERS +config KEMBTK_BUSYB_INSTALL_APPLET_SCRIPT_WRAPPERS bool "as script wrappers" help Install applets as script wrappers that call the busybox binary. -config INSTALL_APPLET_DONT +config KEMBTK_BUSYB_INSTALL_APPLET_DONT bool "not installed" - depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS + depends on KEMBTK_BUSYB_FEATURE_INSTALLER || KEMBTK_BUSYB_FEATURE_SH_STANDALONE || KEMBTK_BUSYB_FEATURE_PREFER_APPLETS help Do not install applet links. Useful when using the -install feature or a standalone shell for rescue purposes. @@ -517,21 +517,21 @@ endchoice choice prompt "/bin/sh applet link" - depends on INSTALL_APPLET_SCRIPT_WRAPPERS + depends on KEMBTK_BUSYB_INSTALL_APPLET_SCRIPT_WRAPPERS help Choose how you install /bin/sh applet link. -config INSTALL_SH_APPLET_SYMLINK +config KEMBTK_BUSYB_INSTALL_SH_APPLET_SYMLINK bool "as soft-link" help Install /bin/sh applet as soft-link to the busybox binary. -config INSTALL_SH_APPLET_HARDLINK +config KEMBTK_BUSYB_INSTALL_SH_APPLET_HARDLINK bool "as hard-link" help Install /bin/sh applet as hard-link to the busybox binary. -config INSTALL_SH_APPLET_SCRIPT_WRAPPER +config KEMBTK_BUSYB_INSTALL_SH_APPLET_SCRIPT_WRAPPER bool "as script wrapper" help Install /bin/sh applet as script wrapper that call the busybox @@ -539,7 +539,7 @@ config INSTALL_SH_APPLET_SCRIPT_WRAPPER endchoice -config PREFIX +config KEMBTK_BUSYB_PREFIX string "BusyBox installation prefix" default "./_install" help |