aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/mesa
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2014-12-30 20:01:28 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2014-12-30 20:01:28 +0100
commitc2534c560b2f9197d41c2fc0bead8d6729f1350d (patch)
treec92551b86a3c6cb2f3621b291b83a624d43ea79b /recipes-graphics/mesa
parentee13bd0c5189363162e883a6fc264b005e54902c (diff)
downloadmeta-qcom-c2534c560b2f9197d41c2fc0bead8d6729f1350d.tar.gz
meta-qcom-c2534c560b2f9197d41c2fc0bead8d6729f1350d.tar.bz2
meta-qcom-c2534c560b2f9197d41c2fc0bead8d6729f1350d.zip
mesa.bbappend: enable xa only when x11 is enabled in DISTRO_FEATURES
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'recipes-graphics/mesa')
-rw-r--r--recipes-graphics/mesa/mesa_10.%.bbappend4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-graphics/mesa/mesa_10.%.bbappend b/recipes-graphics/mesa/mesa_10.%.bbappend
index dfc54c7..3f9d906 100644
--- a/recipes-graphics/mesa/mesa_10.%.bbappend
+++ b/recipes-graphics/mesa/mesa_10.%.bbappend
@@ -1,4 +1,6 @@
# Enable freedreno driver
GALLIUMDRIVERS_append = ",freedreno"
-PACKAGECONFIG_append = " gallium gallium-egl xa"
+PACKAGECONFIG_append = " gallium gallium-egl \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xa', '', d)} \
+ "