package: Don't hide all editors in menuconfig
authorJulien Boibessot <julien.boibessot@free.fr>
Thu, 22 Oct 2009 10:09:39 +0000 (12:09 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 25 Oct 2009 20:31:25 +0000 (21:31 +0100)
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>
package/Config.in
package/editors/Config.in

index afcfacea8480510447a011106e9850fe8bafefb9..6afa2118df9fdbd5ea0b3ffde2dd0d885de2ed64 100644 (file)
@@ -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"
index a1b5fd3ac63b3b4c32dc0df5c5d15bedb96b4377..f58f96b110927ba99fb37aeb0474e2d0d1c2b180 100644 (file)
@@ -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