add BR2_TEXTEDIT_SUPPORT submenu
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Feb 2008 21:34:52 +0000 (21:34 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Feb 2008 21:34:52 +0000 (21:34 -0000)
Group text editors under BR2_TEXTEDIT_SUPPORT submenu.

package/Config.in

index 5101736f178eae085507134cef457f7abe905f85..3f56d3688c4fee735828798ac29e2b40df251cc7 100644 (file)
@@ -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