diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-24 22:08:12 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-24 22:08:12 +0100 |
commit | 336022663a5a38d1dfed6e1dc68d776d1e7e67fe (patch) | |
tree | 6d6ea68d1d25d81a8b039e1146642976d7478bfb | |
parent | 8660aeb3127416a53e0b2e43bb1a82907f468692 (diff) | |
download | busybox-w32-336022663a5a38d1dfed6e1dc68d776d1e7e67fe.tar.gz busybox-w32-336022663a5a38d1dfed6e1dc68d776d1e7e67fe.tar.bz2 busybox-w32-336022663a5a38d1dfed6e1dc68d776d1e7e67fe.zip |
Collapse three levers of menuconfig to two levels.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | Config.in | 157 |
1 files changed, 76 insertions, 81 deletions
@@ -11,15 +11,18 @@ config HAVE_DOT_CONFIG | |||
11 | 11 | ||
12 | menu "Busybox Settings" | 12 | menu "Busybox Settings" |
13 | 13 | ||
14 | menu "General Configuration" | ||
15 | |||
16 | config DESKTOP | 14 | config DESKTOP |
17 | bool "Enable options for full-blown desktop systems" | 15 | bool "Enable options for full-blown desktop systems" |
18 | default y | 16 | default y |
19 | help | 17 | help |
20 | Enable options and features which are not essential. | 18 | Enable options and features which are not essential. |
21 | Select this only if you plan to use busybox on full-blown | 19 | Select this if you plan to use busybox on full-blown desktop machine |
22 | desktop machine with common Linux distro, not on an embedded box. | 20 | with common Linux distro, which needs higher level of command-line |
21 | compatibility. | ||
22 | |||
23 | If you are preparing your build to be used on an embedded box | ||
24 | where you have tighter control over the entire set of userspace | ||
25 | tools, you can unselect this option for smaller code size. | ||
23 | 26 | ||
24 | config EXTRA_COMPAT | 27 | config EXTRA_COMPAT |
25 | bool "Provide compatible behavior for rare corner cases (bigger code)" | 28 | bool "Provide compatible behavior for rare corner cases (bigger code)" |
@@ -199,9 +202,9 @@ config LAST_SUPPORTED_WCHAR | |||
199 | help | 202 | help |
200 | Any character with Unicode value bigger than this is assumed | 203 | Any character with Unicode value bigger than this is assumed |
201 | to be non-printable on output device. Many applets replace | 204 | to be non-printable on output device. Many applets replace |
202 | such chars with substitution character. | 205 | such characters with substitution character. |
203 | 206 | ||
204 | The idea is that many valid printable Unicode chars are | 207 | The idea is that many valid printable Unicode chars |
205 | nevertheless are not displayed correctly. Think about | 208 | nevertheless are not displayed correctly. Think about |
206 | combining charachers, double-wide hieroglyphs, obscure | 209 | combining charachers, double-wide hieroglyphs, obscure |
207 | characters in dozens of ancient scripts... | 210 | characters in dozens of ancient scripts... |
@@ -497,9 +500,7 @@ config FEATURE_HAVE_RPC | |||
497 | # This is automatically selected if any of enabled applets need it. | 500 | # This is automatically selected if any of enabled applets need it. |
498 | # You do not need to select it manually. | 501 | # You do not need to select it manually. |
499 | 502 | ||
500 | endmenu | 503 | comment 'Build Options' |
501 | |||
502 | menu 'Build Options' | ||
503 | 504 | ||
504 | config STATIC | 505 | config STATIC |
505 | bool "Build BusyBox as a static binary (no shared libs)" | 506 | bool "Build BusyBox as a static binary (no shared libs)" |
@@ -674,9 +675,73 @@ config EXTRA_LDLIBS | |||
674 | help | 675 | help |
675 | Additional LDLIBS to pass to the linker with -l. | 676 | Additional LDLIBS to pass to the linker with -l. |
676 | 677 | ||
677 | endmenu | 678 | comment 'Installation Options ("make install" behavior)' |
679 | |||
680 | choice | ||
681 | prompt "What kind of applet links to install" | ||
682 | default INSTALL_APPLET_SYMLINKS | ||
683 | help | ||
684 | Choose what kind of links to applets are created by "make install". | ||
685 | |||
686 | config INSTALL_APPLET_SYMLINKS | ||
687 | bool "as soft-links" | ||
688 | help | ||
689 | Install applets as soft-links to the busybox binary. This needs some | ||
690 | free inodes on the filesystem, but might help with filesystem | ||
691 | generators that can't cope with hard-links. | ||
692 | |||
693 | config INSTALL_APPLET_HARDLINKS | ||
694 | bool "as hard-links" | ||
695 | help | ||
696 | Install applets as hard-links to the busybox binary. This might | ||
697 | count on a filesystem with few inodes. | ||
698 | |||
699 | config INSTALL_APPLET_SCRIPT_WRAPPERS | ||
700 | bool "as script wrappers" | ||
701 | help | ||
702 | Install applets as script wrappers that call the busybox binary. | ||
703 | |||
704 | config INSTALL_APPLET_DONT | ||
705 | bool "not installed" | ||
706 | help | ||
707 | Do not install applet links. Useful when you plan to use | ||
708 | busybox --install for installing links, or plan to use | ||
709 | a standalone shell and thus don't need applet links. | ||
710 | |||
711 | endchoice | ||
712 | |||
713 | choice | ||
714 | prompt "/bin/sh applet link" | ||
715 | default INSTALL_SH_APPLET_SYMLINK | ||
716 | depends on INSTALL_APPLET_SCRIPT_WRAPPERS | ||
717 | help | ||
718 | Choose how you install /bin/sh applet link. | ||
719 | |||
720 | config INSTALL_SH_APPLET_SYMLINK | ||
721 | bool "as soft-link" | ||
722 | help | ||
723 | Install /bin/sh applet as soft-link to the busybox binary. | ||
724 | |||
725 | config INSTALL_SH_APPLET_HARDLINK | ||
726 | bool "as hard-link" | ||
727 | help | ||
728 | Install /bin/sh applet as hard-link to the busybox binary. | ||
729 | |||
730 | config INSTALL_SH_APPLET_SCRIPT_WRAPPER | ||
731 | bool "as script wrapper" | ||
732 | help | ||
733 | Install /bin/sh applet as script wrapper that calls | ||
734 | the busybox binary. | ||
735 | |||
736 | endchoice | ||
737 | |||
738 | config PREFIX | ||
739 | string "BusyBox installation prefix" | ||
740 | default "./_install" | ||
741 | help | ||
742 | Define your directory to install BusyBox files/subdirs in. | ||
678 | 743 | ||
679 | menu 'Debugging Options' | 744 | comment 'Debugging Options' |
680 | 745 | ||
681 | config DEBUG | 746 | config DEBUG |
682 | bool "Build BusyBox with extra Debugging symbols" | 747 | bool "Build BusyBox with extra Debugging symbols" |
@@ -770,78 +835,8 @@ endchoice | |||
770 | 835 | ||
771 | endmenu | 836 | endmenu |
772 | 837 | ||
773 | menu 'Installation Options ("make install" behavior)' | ||
774 | |||
775 | choice | ||
776 | prompt "What kind of applet links to install" | ||
777 | default INSTALL_APPLET_SYMLINKS | ||
778 | help | ||
779 | Choose what kind of links to applets are created by "make install". | ||
780 | |||
781 | config INSTALL_APPLET_SYMLINKS | ||
782 | bool "as soft-links" | ||
783 | help | ||
784 | Install applets as soft-links to the busybox binary. This needs some | ||
785 | free inodes on the filesystem, but might help with filesystem | ||
786 | generators that can't cope with hard-links. | ||
787 | |||
788 | config INSTALL_APPLET_HARDLINKS | ||
789 | bool "as hard-links" | ||
790 | help | ||
791 | Install applets as hard-links to the busybox binary. This might | ||
792 | count on a filesystem with few inodes. | ||
793 | |||
794 | config INSTALL_APPLET_SCRIPT_WRAPPERS | ||
795 | bool "as script wrappers" | ||
796 | help | ||
797 | Install applets as script wrappers that call the busybox binary. | ||
798 | |||
799 | config INSTALL_APPLET_DONT | ||
800 | bool "not installed" | ||
801 | help | ||
802 | Do not install applet links. Useful when you plan to use | ||
803 | busybox --install for installing links, or plan to use | ||
804 | a standalone shell and thus don't need applet links. | ||
805 | |||
806 | endchoice | ||
807 | |||
808 | choice | ||
809 | prompt "/bin/sh applet link" | ||
810 | default INSTALL_SH_APPLET_SYMLINK | ||
811 | depends on INSTALL_APPLET_SCRIPT_WRAPPERS | ||
812 | help | ||
813 | Choose how you install /bin/sh applet link. | ||
814 | |||
815 | config INSTALL_SH_APPLET_SYMLINK | ||
816 | bool "as soft-link" | ||
817 | help | ||
818 | Install /bin/sh applet as soft-link to the busybox binary. | ||
819 | |||
820 | config INSTALL_SH_APPLET_HARDLINK | ||
821 | bool "as hard-link" | ||
822 | help | ||
823 | Install /bin/sh applet as hard-link to the busybox binary. | ||
824 | |||
825 | config INSTALL_SH_APPLET_SCRIPT_WRAPPER | ||
826 | bool "as script wrapper" | ||
827 | help | ||
828 | Install /bin/sh applet as script wrapper that calls | ||
829 | the busybox binary. | ||
830 | |||
831 | endchoice | ||
832 | |||
833 | config PREFIX | ||
834 | string "BusyBox installation prefix" | ||
835 | default "./_install" | ||
836 | help | ||
837 | Define your directory to install BusyBox files/subdirs in. | ||
838 | |||
839 | endmenu | ||
840 | |||
841 | source libbb/Config.in | 838 | source libbb/Config.in |
842 | 839 | ||
843 | endmenu | ||
844 | |||
845 | comment "Applets" | 840 | comment "Applets" |
846 | 841 | ||
847 | source archival/Config.in | 842 | source archival/Config.in |