diff options
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 44 |
1 files changed, 36 insertions, 8 deletions
@@ -106,20 +106,21 @@ config FEATURE_BUFFERS_GO_IN_BSS | |||
106 | endchoice | 106 | endchoice |
107 | 107 | ||
108 | config SHOW_USAGE | 108 | config SHOW_USAGE |
109 | bool "Show terse applet usage messages" | 109 | bool "Show applet usage messages" |
110 | default y | 110 | default y |
111 | help | 111 | help |
112 | All BusyBox applets will show help messages when invoked with | 112 | Enabling this option, BusyBox applets will show terse help messages |
113 | wrong arguments. You can turn off printing these terse usage | 113 | when invoked with wrong arguments. |
114 | messages if you say no here. | 114 | If you do not want to show any (helpful) usage message when |
115 | This will save you up to 7k. | 115 | issuing wrong command syntax, you can say 'N' here, |
116 | saving approximately 7k. | ||
116 | 117 | ||
117 | config FEATURE_VERBOSE_USAGE | 118 | config FEATURE_VERBOSE_USAGE |
118 | bool "Show verbose applet usage messages" | 119 | bool "Show verbose applet usage messages" |
119 | default y | 120 | default y |
120 | depends on SHOW_USAGE | 121 | depends on SHOW_USAGE |
121 | help | 122 | help |
122 | All BusyBox applets will show more verbose help messages when | 123 | All BusyBox applets will show verbose help messages when |
123 | busybox is invoked with --help. This will add a lot of text to the | 124 | busybox is invoked with --help. This will add a lot of text to the |
124 | busybox binary. In the default configuration, this will add about | 125 | busybox binary. In the default configuration, this will add about |
125 | 13k, but it can add much more depending on your configuration. | 126 | 13k, but it can add much more depending on your configuration. |
@@ -129,8 +130,8 @@ config FEATURE_COMPRESS_USAGE | |||
129 | default y | 130 | default y |
130 | depends on SHOW_USAGE | 131 | depends on SHOW_USAGE |
131 | help | 132 | help |
132 | Store usage messages in compressed form, uncompress them on-the-fly | 133 | Store usage messages in .bz compressed form, uncompress them |
133 | when <applet> --help is called. | 134 | on-the-fly when <applet> --help is called. |
134 | 135 | ||
135 | If you have a really tiny busybox with few applets enabled (and | 136 | If you have a really tiny busybox with few applets enabled (and |
136 | bunzip2 isn't one of them), the overhead of the decompressor might | 137 | bunzip2 isn't one of them), the overhead of the decompressor might |
@@ -622,12 +623,39 @@ config CROSS_COMPILER_PREFIX | |||
622 | 623 | ||
623 | Native builds leave this empty. | 624 | Native builds leave this empty. |
624 | 625 | ||
626 | config SYSROOT | ||
627 | string "Path to sysroot" | ||
628 | default "" | ||
629 | help | ||
630 | If you want to build BusyBox with a cross compiler, then you | ||
631 | might also need to specify where /usr/include and /usr/lib | ||
632 | will be found. | ||
633 | |||
634 | For example, BusyBox can be built against an installed | ||
635 | Android NDK, platform version 9, for ARM ABI with | ||
636 | |||
637 | CONFIG_SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm | ||
638 | |||
639 | Native builds leave this empty. | ||
640 | |||
625 | config EXTRA_CFLAGS | 641 | config EXTRA_CFLAGS |
626 | string "Additional CFLAGS" | 642 | string "Additional CFLAGS" |
627 | default "" | 643 | default "" |
628 | help | 644 | help |
629 | Additional CFLAGS to pass to the compiler verbatim. | 645 | Additional CFLAGS to pass to the compiler verbatim. |
630 | 646 | ||
647 | config EXTRA_LDFLAGS | ||
648 | string "Additional LDFLAGS" | ||
649 | default "" | ||
650 | help | ||
651 | Additional LDFLAGS to pass to the linker verbatim. | ||
652 | |||
653 | config EXTRA_LDLIBS | ||
654 | string "Additional LDLIBS" | ||
655 | default "" | ||
656 | help | ||
657 | Additional LDLIBS to pass to the linker with -l. | ||
658 | |||
631 | endmenu | 659 | endmenu |
632 | 660 | ||
633 | menu 'Debugging Options' | 661 | menu 'Debugging Options' |