package/Config.in: hide X.org subsections if XORG7 isn't enabled
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 30 Jun 2016 11:14:25 +0000 (13:14 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 30 Jun 2016 11:14:25 +0000 (13:14 +0200)
(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>
package/Config.in

index 4c39b124e1ae3aaac99b6e814d7434338c3c7123..1bf7b1c7901704fc0f03f8165571f8f67c7a05a9 100644 (file)
@@ -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"