Browse Source

add BR2_TEXTEDIT_SUPPORT submenu

Group text editors under BR2_TEXTEDIT_SUPPORT submenu.
Peter Korsgaard 17 years ago
parent
commit
06accdc017
1 changed files with 16 additions and 8 deletions
  1. 16 8
      package/Config.in

+ 16 - 8
package/Config.in

@@ -87,10 +87,6 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/module-init-tools/Config.in"
 source "package/modutils/Config.in"
 endif
-if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
-# busybox has an editor..
-source "package/nano/Config.in"
-endif
 source "package/portage/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/procps/Config.in"
@@ -110,16 +106,28 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/tinylogin/Config.in"
 endif
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
-# busybox has an editor..
-source "package/uemacs/Config.in"
-endif
-if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/util-linux/Config.in"
 endif
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/which/Config.in"
 endif
 
+if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
+# busybox has an editor
+
+menuconfig BR2_TEXTEDIT_SUPPORT
+	bool "Text editors"
+	default y
+	help
+	  Support for text editors
+
+if BR2_TEXTEDIT_SUPPORT
+source "package/nano/Config.in"
+source "package/uemacs/Config.in"
+endif
+
+endif
+
 menuconfig BR2_NETWORK_SUPPORT
 	bool "Networking"
 	default y