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>
This commit is contained in:
parent
bcfe05a7e9
commit
999d4a2631
@ -102,7 +102,6 @@ endef
|
|||||||
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
|
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
|
||||||
MESA3D_CONF_OPTS += \
|
MESA3D_CONF_OPTS += \
|
||||||
--without-dri-drivers --disable-dri3
|
--without-dri-drivers --disable-dri3
|
||||||
MESA3D_POST_INSTALL_STAGING_HOOKS += MESA3D_REMOVE_OPENGL_PC
|
|
||||||
else
|
else
|
||||||
ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
|
ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
|
||||||
MESA3D_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto xproto_presentproto
|
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))
|
--with-dri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
|
||||||
|
MESA3D_POST_INSTALL_STAGING_HOOKS += MESA3D_REMOVE_OPENGL_PC
|
||||||
|
endif
|
||||||
|
|
||||||
# APIs
|
# APIs
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
|
ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
|
||||||
|
Loading…
Reference in New Issue
Block a user