From: Julien Boibessot Date: Thu, 22 Oct 2009 10:09:39 +0000 (+0200) Subject: package: Don't hide all editors in menuconfig X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ec5a866162772b60deba2060917cd281eb64cae;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/package/Config.in b/package/Config.in index afcfacea84..6afa2118df 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 a1b5fd3ac6..f58f96b110 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