summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJulien Boibessot <julien.boibessot@free.fr>2009-10-22 12:09:39 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-25 21:31:25 +0100
commit8ec5a866162772b60deba2060917cd281eb64cae (patch)
treed8b9daf63db462b4901baa2b09b0c9e5fd2ebfa9 /package
parent31d34b42053be4ce472d5561e7b21a3bcf4d9dd7 (diff)
package: Don't hide all editors in menuconfig
Don't hide all editors in config if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not selected. Indeed vi is the only editor already provided by busybox. Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in5
-rw-r--r--package/editors/Config.in3
2 files changed, 3 insertions, 5 deletions
diff --git a/package/Config.in b/package/Config.in
index afcfacea8..6afa2118d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -114,14 +114,9 @@ endif
source "package/database/Config.in"
-if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
-# busybox has an editor
-
# text editors
source "package/editors/Config.in"
-endif
-
menu "Networking"
comment "Networking applications"
diff --git a/package/editors/Config.in b/package/editors/Config.in
index a1b5fd3ac..f58f96b11 100644
--- a/package/editors/Config.in
+++ b/package/editors/Config.in
@@ -2,5 +2,8 @@ menu "Text editors"
source "package/editors/ed/Config.in"
source "package/editors/nano/Config.in"
source "package/editors/uemacs/Config.in"
+if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+# busybox has vi
source "package/editors/vim/Config.in"
+endif
endmenu