[BusyBox] [PATCH] more config.in entries
Giulio Orsero
giulioo at pobox.com
Wed Nov 7 02:32:53 UTC 2001
Adds some general config.in entries
Adds dummy CONFIG_FEATURE_BUFFERS_USE_MALLOC to properly use 'choice'.
It's to be applied after
http://busybox.net/lists/busybox/2001-November/005030.html
--- ./editors/config.in.orig Thu Nov 1 14:34:19 2001
+++ ./editors/config.in Thu Nov 1 14:34:33 2001
@@ -15,7 +15,7 @@
bool ' Catch signals' CONFIG_FEATURE_VI_USE_SIGNALS
bool ' Remember previous cmd and "." cmd' CONFIG_FEATURE_VI_DOT_CMD
bool ' Enable -R option and "view" mode' CONFIG_FEATURE_VI_READONLY
- bool ' Enable set-able options, ai ic showmatch' CONFIG_FEATURE_VI_SETOPT
+ bool ' Enable set-able options, ai ic showmatch' CONFIG_FEATURE_VI_SETOPTS
bool ' Support for :set' CONFIG_FEATURE_VI_SET
bool ' Handle window resize' CONFIG_FEATURE_VI_WIN_RESIZE
bool ' Optimize cursor movement' CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
--- ./sysdeps/linux/config.in.orig Thu Nov 1 14:18:09 2001
+++ ./sysdeps/linux/config.in Thu Nov 1 21:01:03 2001
@@ -4,6 +4,19 @@
#
mainmenu_name "BusyBox Configuration"
+mainmenu_option next_comment
+comment 'BusyBox general settings'
+bool 'Show verbose applets usage messages (increase size)' CONFIG_FEATURE_VERBOSE_USAGE
+bool 'busybox --install [-s] makes symlinks for built-in commands' CONFIG_FEATURE_INSTALLER
+bool 'Enable "locale" support (need system with "locale")' CONFIG_LOCALE_SUPPORT
+bool 'Support for devfs' CONFIG_FEATURE_DEVFS
+bool 'Clean up all memory before exiting (usually not needed)' CONFIG_FEATURE_CLEAN_UP
+choice 'Buffers allocation policy' \
+ "use_malloc CONFIG_FEATURE_BUFFERS_USE_MALLOC \
+ on_stack CONFIG_FEATURE_BUFFERS_GO_ON_STACK \
+ in_bss CONFIG_FEATURE_BUFFERS_GO_IN_BSS" use_malloc
+
+endmenu
source archival/config.in
source console-tools/config.in
--- ./docs/Configure.help.orig Thu Nov 1 16:00:20 2001
+++ ./docs/Configure.help Thu Nov 1 21:02:25 2001
@@ -31,6 +31,42 @@
# option.
#
+Show verbose applets usage message
+CONFIG_FEATURE_VERBOSE_USAGE
+ All BusyBox applets will show a more verbose help message when
+ invoked with -h.
+
+Enable automatic symlink creation for BusyBox built-in applets
+CONFIG_FEATURE_INSTALLER
+ Enable 'busybox --install [-s]' to create links (or symlinks) for
+ all the commands that are compiled into the binary.
+ This feature needs the /proc filesystem.
+
+Locale support
+CONFIG_LOCALE_SUPPORT
+ Enable if your system have locale support.
+
+Enable devfs support
+CONFIG_FEATURE_DEVFS
+ Enable if you want BusyBox to work with devfs.
+
+Clean up all memory before exiting
+CONFIG_FEATURE_CLEAN_UP
+ Usually not needed as the OS can clean up...
+ Don't enable this unless you have a really good reason for
+ cleaning things up manually.
+
+Buffers allocation policy
+CONFIG_FEATURE_BUFFERS_USE_MALLOC
+ There are 3 ways BusyBox can handle buffer allocations:
+ - Use malloc. This costs code size for the call to xmalloc.
+ - Put them on stack. For some very small machines with limited stack
+ space, this can be deadly. For most folks, this works just fine.
+ - Put them in BSS. This works beautifully for computers with a real
+ MMU (and OS support), but wastes runtime RAM for uCLinux. This
+ behavior was the only one available for BusyBox versions 0.48 and
+ earlier.
+
Enable the ar applet
CONFIG_AR
ar is an archival utility program used to creates, modify, and
--- ./pwd_grp/config.in.orig Thu Nov 1 21:08:33 2001
+++ ./pwd_grp/config.in Thu Nov 1 21:09:11 2001
@@ -11,6 +11,9 @@
bool 'addgroup' CONFIG_ADDGROUP
bool 'adduser' CONFIG_ADDUSER
bool 'deluser' CONFIG_DELUSER
+if [ "$CONFIG_DELUSER" = "y" ]; then
+ bool ' Support for shadow passwords' TLG_FEATURE_SHADOWPASSWDS
+fi
bool 'delgroup' CONFIG_DELUSER
bool 'getty' CONFIG_GETTY
--
giulioo at pobox.com
More information about the busybox
mailing list