Przeglądaj źródła

package/Config.in: hide X.org subsections if XORG7 isn't enabled

(most of) the individual packages depends on BR2_PACKAGE_XORG7, but the
subsection comments do not, so we end up displaying them when Xorg isn't
enabled which isn't very useful:

[ ] X.org X Window System  ----
    *** X applications ***
    *** X libraries and helper libraries ***
    *** X window managers ***

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 9 lat temu
rodzic
commit
5c8b4f846e
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      package/Config.in

+ 6 - 0
package/Config.in

@@ -297,6 +297,8 @@ endif
 	source "package/x11r7/Config.in"
 
 comment "X applications"
+	depends on BR2_PACKAGE_XORG7
+
 	source "package/alsamixergui/Config.in"
 	source "package/apitrace/Config.in"
 	source "package/dillo/Config.in"
@@ -322,10 +324,14 @@ comment "X applications"
 	source "package/yad/Config.in"
 
 comment "X libraries and helper libraries"
+	depends on BR2_PACKAGE_XORG7
+
 	source "package/libsexy/Config.in"
 	source "package/x11r7/xkeyboard-config/Config.in"
 
 comment "X window managers"
+	depends on BR2_PACKAGE_XORG7
+
 	source "package/enlightenment/Config.in"
 	source "package/fluxbox/Config.in"
 	source "package/matchbox/Config.in"