[Buildroot] [git commit master] package: Don't hide all editors in menuconfig

Julien Boibessot julien.boibessot at free.fr
Sun Oct 25 21:16:01 UTC 2009


commit: http://git.buildroot.net/buildroot/commit/?id=8ec5a866162772b60deba2060917cd281eb64cae
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/Config.in         |    5 -----
 package/editors/Config.in |    3 +++
 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
-- 
1.6.3.3



More information about the buildroot mailing list