package/glslsandbox: kms needs gbm
Obviously, KMS/DRM/GBM needs gbm so add a dependency on libgbm which was added by commit4a541ee932
: checking for gbm... no configure: error: Package requirements (gbm) were not met: Package 'gbm', required by 'virtual:world', not found Fixes: - http://autobuild.buildroot.org/results/31b3fff9748300e293b4efb5615176ccce48dd15 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commite88cb1038d
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4608a025d2
commit
85cd3874cb
@ -70,6 +70,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL
|
||||
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS
|
||||
bool "KMS/DRM/GBM"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
|
||||
depends on BR2_PACKAGE_HAS_LIBGBM
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
|
||||
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI
|
||||
|
@ -44,9 +44,7 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL),y)
|
||||
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
|
||||
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS),y)
|
||||
# gbm dependency is not needed, as it is normally packaged with
|
||||
# libegl/libgles drivers.
|
||||
GLSLSANDBOX_PLAYER_DEPENDENCIES += libdrm
|
||||
GLSLSANDBOX_PLAYER_DEPENDENCIES += libdrm libgbm
|
||||
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms
|
||||
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y)
|
||||
GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-utgard
|
||||
|
Loading…
Reference in New Issue
Block a user