浏览代码

Reduce clutter in packages menu

Ulf Samuelsson 18 年之前
父节点
当前提交
1a1ac77c26
共有 2 个文件被更改,包括 22 次插入5 次删除
  1. 14 5
      package/Config.in
  2. 8 0
      package/busybox/Config.in

+ 14 - 5
package/Config.in

@@ -1,11 +1,17 @@
 menu "Package Selection for the target"
 
-
-comment "The default minimal system"
 source "package/busybox/Config.in"
 
+comment "The minimum needed to build a uClibc development system ---"
+
+menuconfig BR2_APPLICATIONS
+	bool "Common Applications"
+	default y
+	help
+	  A set of applications, utilities and libraries for 
+	  text processing, toolchain generation and other things.
 
-comment "The minimum needed to build a uClibc development system"
+if BR2_APPLICATIONS
 source "package/bash/Config.in"
 source "package/bzip2/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
@@ -77,7 +83,6 @@ source "package/lsof/Config.in"
 source "package/ltp-testsuite/Config.in"
 source "package/ltrace/Config.in"
 source "package/ltt/Config.in"
-source "package/microcom/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/module-init-tools/Config.in"
 source "package/modutils/Config.in"
@@ -114,14 +119,18 @@ endif
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/which/Config.in"
 endif
+endif
 
 menuconfig BR2_NETWORK_SUPPORT
 	bool "Networking"
 	default y
 	help
-	  Support for networking and related packages
+	  Support for communication, networking and related packages
 
 if BR2_NETWORK_SUPPORT
+comment "Communications applications"
+source "package/microcom/Config.in"
+comment "Networking applications"
 source "package/argus/Config.in"
 source "package/avahi/Config.in"
 source "package/boa/Config.in"

+ 8 - 0
package/busybox/Config.in

@@ -1,3 +1,10 @@
+menuconfig BR2_BUSYBOX_MENU
+	bool "Busybox configuration -- the default minimal system"
+	default y
+	help
+	  Configuration of Busybox, 
+
+if BR2_BUSYBOX_MENU
 config BR2_PACKAGE_BUSYBOX
 	bool "BusyBox"
 	default y
@@ -155,3 +162,4 @@ config BR2_BANNER
 #	depends on BR2_PACKAGE_BUSYBOX
 #	help
 #	  Build small initramfs perusing busybox.
+endif