summaryrefslogtreecommitdiffstats
path: root/package/mesa3d
diff options
context:
space:
mode:
Diffstat (limited to 'package/mesa3d')
-rw-r--r--package/mesa3d/mesa3d.mk32
1 files changed, 16 insertions, 16 deletions
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index a53ce07c90..844884b68e 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -34,22 +34,22 @@ MESA3D_DEPENDENCIES += \
xlib_libXdamage \
xlib_libXfixes \
libxcb
-MESA3D_CONF_OPT += --enable-glx
+MESA3D_CONF_OPTS += --enable-glx
# quote from mesa3d configure "Building xa requires at least one non swrast gallium driver."
ifneq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU)$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA),)
-MESA3D_CONF_OPT += --enable-xa
+MESA3D_CONF_OPTS += --enable-xa
else
-MESA3D_CONF_OPT += --disable-xa
+MESA3D_CONF_OPTS += --disable-xa
endif
else
-MESA3D_CONF_OPT += \
+MESA3D_CONF_OPTS += \
--disable-glx \
--disable-xa
endif
ifeq ($(BR2_PREFER_STATIC_LIB),)
# fix for "configure: error: Cannot use static libraries for DRI drivers"
-MESA3D_CONF_OPT += --disable-static
+MESA3D_CONF_OPTS += --disable-static
endif
# Drivers
@@ -65,29 +65,29 @@ MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I965) += i965
MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON) += radeon
ifeq ($(MESA3D_GALLIUM_DRIVERS-y),)
-MESA3D_CONF_OPT += \
+MESA3D_CONF_OPTS += \
--without-gallium-drivers
else
-MESA3D_CONF_OPT += \
+MESA3D_CONF_OPTS += \
--enable-shared-glapi \
--with-gallium-drivers=$(subst $(space),$(comma),$(MESA3D_GALLIUM_DRIVERS-y))
endif
ifeq ($(MESA3D_DRI_DRIVERS-y),)
-MESA3D_CONF_OPT += \
+MESA3D_CONF_OPTS += \
--without-dri-drivers --without-dri --disable-dri3
else
ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
MESA3D_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto xproto_presentproto
-MESA3D_CONF_OPT += --enable-dri3
+MESA3D_CONF_OPTS += --enable-dri3
else
-MESA3D_CONF_OPT += --disable-dri3
+MESA3D_CONF_OPTS += --disable-dri3
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
MESA3D_DEPENDENCIES += xlib_libXxf86vm
endif
MESA3D_PROVIDES += libgl
-MESA3D_CONF_OPT += \
+MESA3D_CONF_OPTS += \
--enable-dri \
--enable-shared-glapi \
--with-dri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y))
@@ -98,7 +98,7 @@ endif
# Always enable OpenGL:
# - it is needed for GLES (mesa3d's ./configure is a bit weird)
# - but if no DRI driver is enabled, then libgl is not built
-MESA3D_CONF_OPT += --enable-opengl
+MESA3D_CONF_OPTS += --enable-opengl
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
MESA3D_PROVIDES += libegl
@@ -112,20 +112,20 @@ endif
ifeq ($(BR2_PACKAGE_XORG7),y)
MESA3D_EGL_PLATFORMS += x11
endif
-MESA3D_CONF_OPT += \
+MESA3D_CONF_OPTS += \
--enable-gbm \
--enable-egl \
--with-egl-platforms=$(subst $(space),$(comma),$(MESA3D_EGL_PLATFORMS))
else
-MESA3D_CONF_OPT += \
+MESA3D_CONF_OPTS += \
--disable-egl
endif
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES),y)
MESA3D_PROVIDES += libgles
-MESA3D_CONF_OPT += --enable-gles1 --enable-gles2
+MESA3D_CONF_OPTS += --enable-gles1 --enable-gles2
else
-MESA3D_CONF_OPT += --disable-gles1 --disable-gles2
+MESA3D_CONF_OPTS += --disable-gles1 --disable-gles2
endif
$(eval $(autotools-package))
OpenPOWER on IntegriCloud