소스 검색

package/glslsandbox: kms needs gbm

Obviously, KMS/DRM/GBM needs gbm so add a dependency on libgbm which was
added by commit 4a541ee93242e67f7fab625607f5501c6925d451:

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>
Fabrice Fontaine 3 년 전
부모
커밋
e88cb1038d
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 0
      package/glslsandbox-player/Config.in
  2. 1 3
      package/glslsandbox-player/glslsandbox-player.mk

+ 1 - 0
package/glslsandbox-player/Config.in

@@ -70,6 +70,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL
 config BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS
 config BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS
 	bool "KMS/DRM/GBM"
 	bool "KMS/DRM/GBM"
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
+	depends on BR2_PACKAGE_HAS_LIBGBM
 	select BR2_PACKAGE_LIBDRM
 	select BR2_PACKAGE_LIBDRM
 
 
 config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI
 config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI

+ 1 - 3
package/glslsandbox-player/glslsandbox-player.mk

@@ -44,9 +44,7 @@ endif
 ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL),y)
 ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL),y)
 GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
 GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
 else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS),y)
 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
 GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms
 else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y)
 else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y)
 GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-utgard
 GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-utgard