aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-24 22:08:12 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-24 22:08:12 +0100
commit336022663a5a38d1dfed6e1dc68d776d1e7e67fe (patch)
tree6d6ea68d1d25d81a8b039e1146642976d7478bfb
parent8660aeb3127416a53e0b2e43bb1a82907f468692 (diff)
downloadbusybox-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.in157
1 files changed, 76 insertions, 81 deletions
diff --git a/Config.in b/Config.in
index 3d1870966..089879914 100644
--- a/Config.in
+++ b/Config.in
@@ -11,15 +11,18 @@ config HAVE_DOT_CONFIG
11 11
12menu "Busybox Settings" 12menu "Busybox Settings"
13 13
14menu "General Configuration"
15
16config DESKTOP 14config 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
24config EXTRA_COMPAT 27config 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
500endmenu 503comment 'Build Options'
501
502menu 'Build Options'
503 504
504config STATIC 505config 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
677endmenu 678comment 'Installation Options ("make install" behavior)'
679
680choice
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
686config 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
693config 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
699config INSTALL_APPLET_SCRIPT_WRAPPERS
700 bool "as script wrappers"
701 help
702 Install applets as script wrappers that call the busybox binary.
703
704config 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
711endchoice
712
713choice
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
720config INSTALL_SH_APPLET_SYMLINK
721 bool "as soft-link"
722 help
723 Install /bin/sh applet as soft-link to the busybox binary.
724
725config INSTALL_SH_APPLET_HARDLINK
726 bool "as hard-link"
727 help
728 Install /bin/sh applet as hard-link to the busybox binary.
729
730config 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
736endchoice
737
738config PREFIX
739 string "BusyBox installation prefix"
740 default "./_install"
741 help
742 Define your directory to install BusyBox files/subdirs in.
678 743
679menu 'Debugging Options' 744comment 'Debugging Options'
680 745
681config DEBUG 746config DEBUG
682 bool "Build BusyBox with extra Debugging symbols" 747 bool "Build BusyBox with extra Debugging symbols"
@@ -770,78 +835,8 @@ endchoice
770 835
771endmenu 836endmenu
772 837
773menu 'Installation Options ("make install" behavior)'
774
775choice
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
781config 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
788config 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
794config INSTALL_APPLET_SCRIPT_WRAPPERS
795 bool "as script wrappers"
796 help
797 Install applets as script wrappers that call the busybox binary.
798
799config 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
806endchoice
807
808choice
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
815config INSTALL_SH_APPLET_SYMLINK
816 bool "as soft-link"
817 help
818 Install /bin/sh applet as soft-link to the busybox binary.
819
820config INSTALL_SH_APPLET_HARDLINK
821 bool "as hard-link"
822 help
823 Install /bin/sh applet as hard-link to the busybox binary.
824
825config 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
831endchoice
832
833config PREFIX
834 string "BusyBox installation prefix"
835 default "./_install"
836 help
837 Define your directory to install BusyBox files/subdirs in.
838
839endmenu
840
841source libbb/Config.in 838source libbb/Config.in
842 839
843endmenu
844
845comment "Applets" 840comment "Applets"
846 841
847source archival/Config.in 842source archival/Config.in