summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Boibessot <julien.boibessot@free.fr>2009-10-22 10:09:39 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2009-10-25 20:31:25 (GMT)
commit8ec5a866162772b60deba2060917cd281eb64cae (patch)
treed8b9daf63db462b4901baa2b09b0c9e5fd2ebfa9
parent31d34b42053be4ce472d5561e7b21a3bcf4d9dd7 (diff)
downloadbuildroot-8ec5a866162772b60deba2060917cd281eb64cae.tar.gz
buildroot-8ec5a866162772b60deba2060917cd281eb64cae.tar.bz2
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>
-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 afcface..6afa211 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 a1b5fd3..f58f96b 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