summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2016-06-01 15:58:35 +0900
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-05 15:03:46 +0200
commit999d4a263118ab8581190d3e3c8bdc471896628f (patch)
tree07843fedaaf5488392de158fff75a97ce96d842f
parentbcfe05a7e9ce49bcc447fd956f52da0032f534e6 (diff)
downloadbuildroot-999d4a263118ab8581190d3e3c8bdc471896628f.tar.gz
buildroot-999d4a263118ab8581190d3e3c8bdc471896628f.zip
mesa3d: don't remove OpenGL pc when installing Gallium
Gallium driver also provides DRI-like infrastructure and OpenGL. This change prevents from removing pkg-configs of them also when installing the driver. Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mesa3d/mesa3d.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index ebd674faa9..117e06178d 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -102,7 +102,6 @@ endef
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
MESA3D_CONF_OPTS += \
--without-dri-drivers --disable-dri3
-MESA3D_POST_INSTALL_STAGING_HOOKS += MESA3D_REMOVE_OPENGL_PC
else
ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
MESA3D_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto xproto_presentproto
@@ -125,6 +124,10 @@ MESA3D_CONF_OPTS += \
--with-dri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y))
endif
+ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+MESA3D_POST_INSTALL_STAGING_HOOKS += MESA3D_REMOVE_OPENGL_PC
+endif
+
# APIs
ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
OpenPOWER on IntegriCloud