diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-11-10 10:43:09 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-11-10 10:43:09 +0000 |
commit | 3ad50ea6546f6bb3409074afa3ad80564177e54f (patch) | |
tree | 47ced007614267804157d8d240d5c100f4f4d852 | |
parent | 4704a8e122b4771223ee9e8477dc035dbd1e23be (diff) | |
download | busybox-w32-3ad50ea6546f6bb3409074afa3ad80564177e54f.tar.gz busybox-w32-3ad50ea6546f6bb3409074afa3ad80564177e54f.tar.bz2 busybox-w32-3ad50ea6546f6bb3409074afa3ad80564177e54f.zip |
more config.in entries from Giulio Orsero <giulioo@pobox.com>
with some minor edits by me.
git-svn-id: svn://busybox.net/trunk/busybox@3640 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | docs/Configure.help | 57 | ||||
-rw-r--r-- | editors/config.in | 2 | ||||
-rw-r--r-- | sysdeps/linux/config.in | 13 |
3 files changed, 64 insertions, 8 deletions
diff --git a/docs/Configure.help b/docs/Configure.help index e69a28f74..8ba638b68 100644 --- a/docs/Configure.help +++ b/docs/Configure.help | |||
@@ -31,15 +31,58 @@ | |||
31 | # option. | 31 | # option. |
32 | # | 32 | # |
33 | 33 | ||
34 | Show verbose applets usage message | ||
35 | CONFIG_FEATURE_VERBOSE_USAGE | ||
36 | All BusyBox applets will show more verbose help messages when | ||
37 | busybox is invoked with --help. This will add lots of text to the | ||
38 | busybox binary. In the default configuration, this will add about | ||
39 | 13k, but it can add much more depending on your configuration. | ||
40 | |||
41 | Enable automatic symlink creation for BusyBox built-in applets | ||
42 | CONFIG_FEATURE_INSTALLER | ||
43 | Enable 'busybox --install [-s]' support. This will allow you to use | ||
44 | busybox at runtime to create hard links or symlinks for all the | ||
45 | applets that are compiled into busybox. This feature requires the | ||
46 | /proc filesystem. | ||
47 | |||
48 | Locale support | ||
49 | CONFIG_LOCALE_SUPPORT | ||
50 | Enable this if your system has locale support, and you would like | ||
51 | busybox to support locale settings. | ||
52 | |||
53 | Enable devfs support | ||
54 | CONFIG_FEATURE_DEVFS | ||
55 | Enable if you want BusyBox to work with devfs. | ||
56 | |||
57 | Clean up all memory before exiting | ||
58 | CONFIG_FEATURE_CLEAN_UP | ||
59 | As a size optimization, busybox by default does not cleanup memory | ||
60 | that is dynamically allocated or close files before exiting. This | ||
61 | saves space and is usually not needed since the OS will clean up for | ||
62 | us. Don't enable this unless you have a really good reason to clean | ||
63 | things up manually. | ||
64 | |||
65 | Buffers allocation policy | ||
66 | CONFIG_FEATURE_BUFFERS_USE_MALLOC | ||
67 | There are 3 ways BusyBox can handle buffer allocations: | ||
68 | - Use malloc. This costs code size for the call to xmalloc. | ||
69 | - Put them on stack. For some very small machines with limited stack | ||
70 | space, this can be deadly. For most folks, this works just fine. | ||
71 | - Put them in BSS. This works beautifully for computers with a real | ||
72 | MMU (and OS support), but wastes runtime RAM for uCLinux. This | ||
73 | behavior was the only one available for BusyBox versions 0.48 and | ||
74 | earlier. | ||
75 | |||
34 | Enable the ar applet | 76 | Enable the ar applet |
35 | CONFIG_AR | 77 | CONFIG_AR |
36 | ar is an archival utility program used to creates, modify, and | 78 | ar is an archival utility program used to create, modify, and |
37 | extract contents from archives. An archive is a single file holding | 79 | extract contents from archives. An archive is a single file holding |
38 | a collection of other files in a structure that makes it possible to | 80 | a collection of other files in a structure that makes it possible to |
39 | retrieve the original individual files (called archive members). The | 81 | retrieve the original individual files (called archive members). |
40 | original files' contents, mode (permissions), timestamp, owner, and | 82 | The original files' contents, mode (permissions), timestamp, owner, |
41 | group are preserved in the archive, and can be restored on | 83 | and group are preserved in the archive, and can be restored on |
42 | extraction. On an x86 system, the ar applet adds about XXX bytes. | 84 | extraction. |
85 | On an x86 system, the ar applet adds about XXX bytes. | ||
43 | 86 | ||
44 | Unless you have a specific application which requires ar, you should | 87 | Unless you have a specific application which requires ar, you should |
45 | probably say N here. | 88 | probably say N here. |
@@ -64,8 +107,8 @@ Enable the run-parts applet | |||
64 | CONFIG_RUN_PARTS | 107 | CONFIG_RUN_PARTS |
65 | run-parts is an utility designed to run all the scripts in a directory. | 108 | run-parts is an utility designed to run all the scripts in a directory. |
66 | 109 | ||
67 | It is useful to set up directory like cron.daily, where we have to | 110 | It is useful to set up a directory like cron.daily, where you need to |
68 | execute all the script contained. | 111 | execute all the scripts in that directory. |
69 | 112 | ||
70 | This implementation of run-parts doesn't accept long options, and | 113 | This implementation of run-parts doesn't accept long options, and |
71 | some features (like report mode) aren't implemented. | 114 | some features (like report mode) aren't implemented. |
diff --git a/editors/config.in b/editors/config.in index 81d907b0c..2d0bb3782 100644 --- a/editors/config.in +++ b/editors/config.in | |||
@@ -15,7 +15,7 @@ if [ "$CONFIG_VI" = "y" ]; then | |||
15 | bool ' Catch signals' CONFIG_FEATURE_VI_USE_SIGNALS | 15 | bool ' Catch signals' CONFIG_FEATURE_VI_USE_SIGNALS |
16 | bool ' Remember previous cmd and "." cmd' CONFIG_FEATURE_VI_DOT_CMD | 16 | bool ' Remember previous cmd and "." cmd' CONFIG_FEATURE_VI_DOT_CMD |
17 | bool ' Enable -R option and "view" mode' CONFIG_FEATURE_VI_READONLY | 17 | bool ' Enable -R option and "view" mode' CONFIG_FEATURE_VI_READONLY |
18 | bool ' Enable set-able options, ai ic showmatch' CONFIG_FEATURE_VI_SETOPT | 18 | bool ' Enable set-able options, ai ic showmatch' CONFIG_FEATURE_VI_SETOPTS |
19 | bool ' Support for :set' CONFIG_FEATURE_VI_SET | 19 | bool ' Support for :set' CONFIG_FEATURE_VI_SET |
20 | bool ' Handle window resize' CONFIG_FEATURE_VI_WIN_RESIZE | 20 | bool ' Handle window resize' CONFIG_FEATURE_VI_WIN_RESIZE |
21 | bool ' Optimize cursor movement' CONFIG_FEATURE_VI_OPTIMIZE_CURSOR | 21 | bool ' Optimize cursor movement' CONFIG_FEATURE_VI_OPTIMIZE_CURSOR |
diff --git a/sysdeps/linux/config.in b/sysdeps/linux/config.in index 479d1a3cc..cdc9018fd 100644 --- a/sysdeps/linux/config.in +++ b/sysdeps/linux/config.in | |||
@@ -4,6 +4,19 @@ | |||
4 | # | 4 | # |
5 | mainmenu_name "BusyBox Configuration" | 5 | mainmenu_name "BusyBox Configuration" |
6 | 6 | ||
7 | mainmenu_option next_comment | ||
8 | comment 'BusyBox general settings' | ||
9 | bool 'Show verbose applet usage messages (increases size)' CONFIG_FEATURE_VERBOSE_USAGE | ||
10 | bool 'Support --install [-s] to install applet links at runtime' CONFIG_FEATURE_INSTALLER | ||
11 | bool 'Enable locale support (system needs locale for this to work)' CONFIG_LOCALE_SUPPORT | ||
12 | bool 'Support for devfs' CONFIG_FEATURE_DEVFS | ||
13 | bool 'Clean up all memory before exiting (usually not needed)' CONFIG_FEATURE_CLEAN_UP | ||
14 | choice 'Buffer allocation policy' \ | ||
15 | "use_malloc CONFIG_FEATURE_BUFFERS_USE_MALLOC \ | ||
16 | on_stack CONFIG_FEATURE_BUFFERS_GO_ON_STACK \ | ||
17 | in_bss CONFIG_FEATURE_BUFFERS_GO_IN_BSS" use_malloc | ||
18 | |||
19 | endmenu | ||
7 | 20 | ||
8 | source archival/config.in | 21 | source archival/config.in |
9 | source console-tools/config.in | 22 | source console-tools/config.in |