summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-02-02 21:41:21 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-02-02 21:41:21 +0100
commitd538b8bf93f684b0ea00dc61dd4cb25394345971 (patch)
tree6b472996a8de8363735937f0aa0c04c97e7477a7
parent2dde40081c49852bac0ee9c723911761bd5fc91e (diff)
downloadbuildroot-d538b8bf93f684b0ea00dc61dd4cb25394345971.tar.gz
buildroot-d538b8bf93f684b0ea00dc61dd4cb25394345971.zip
mesa3d: use positive logic for XA enabling
Thanks to commit 2dde40081c49852bac0ee9c723911761bd5fc91e ("package/mesa3d: Refactor XA support to prepare support for ATI drivers"), we now have the blind option BR2_PACKAGE_MESA3D_NEEDS_XA that indicates whether XA support is needed. This allows to switch to use positive logic in the test for XA in mesa3d.mk, which this commit does. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mesa3d/mesa3d.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 4ff7e094c5..de647a6e5d 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -36,7 +36,7 @@ MESA3D_DEPENDENCIES += \
libxcb
MESA3D_CONF_OPTS += --enable-glx
# quote from mesa3d configure "Building xa requires at least one non swrast gallium driver."
-ifneq ($(BR2_PACKAGE_MESA3D_NEEDS_XA),)
+ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_XA),y)
MESA3D_CONF_OPTS += --enable-xa
else
MESA3D_CONF_OPTS += --disable-xa
OpenPOWER on IntegriCloud