package/libinput: remove dependency on BR2_ENABLE_LOCALE
PATCH 1/4 package/libinput: remove dependency on BR2_ENABLE_LOCALE
Upstream commit
https://gitlab.freedesktop.org/libinput/libinput/commit/99bb0ee7cb35f7d7a932e7cf28885782bad17613
removed the dependency on locale support provided by the toolchain. Removed reverse dependencies as well.
---
v1: initial revision
package/efl/Config.in | 10 ++++------ package/kodi/Config.in | 1 - package/libinput/Config.in | 5 ++--- package/weston-imx/Config.in | 1 - package/weston/Config.in | 1 - package/x11r7/xdriver_xf86-input-libinput/Config.in | 5 ++--- 6 files changed, 8 insertions(+), 15 deletions(-)
package/efl/Config.in +4 -6
@@ -219,7 +219,6 @@ endchoice # OpenGL support config BR2_PACKAGE_EFL_ELPUT bool "Elput" - depends on BR2_ENABLE_LOCALE # libinput depends on BR2_PACKAGE_EFL_EEZE select BR2_PACKAGE_LIBINPUT select BR2_PACKAGE_LIBXKBCOMMON
@@ -230,24 +229,23 @@ config BR2_PACKAGE_EFL_ELPUT libinput without having to duplicate the code in each subsystem. -comment "Elput support needs udev /dev management (eeze), locales" - depends on !BR2_PACKAGE_EFL_EEZE || !BR2_ENABLE_LOCALE +comment "Elput support needs udev /dev management (eeze)" + depends on !BR2_PACKAGE_EFL_EEZE config BR2_PACKAGE_EFL_DRM bool "Evas DRM Engine" depends on BR2_PACKAGE_EFL_EEZE depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # require libgbm from mesa3d - depends on BR2_ENABLE_LOCALE # efl-elput <- libinput select BR2_PACKAGE_EFL_ELPUT select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBXKBCOMMON help This option enable building support for the Evas DRM Engine. -comment "Evas DRM Engine needs udev /dev management (eeze), mesa3d w/ EGL support, threads, locales" +comment "Evas DRM Engine needs udev /dev management (eeze), mesa3d w/ EGL support, threads" depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \ - || !BR2_PACKAGE_EFL_EEZE || !BR2_ENABLE_LOCALE + || !BR2_PACKAGE_EFL_EEZE comment "libevas loaders"
package/kodi/Config.in +0 -1
@@ -23,7 +23,6 @@ config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_RBPI # List of valid CPUs can be found here: # https://github.com/xbmc/xbmc/blob/Krypton/project/cmake/scripts/rbpi/ArchSetup.cmake#L12 depends on BR2_arm1176jzf_s || BR2_cortex_a7 || BR2_cortex_a53 - depends on BR2_ENABLE_LOCALE # libinput depends on BR2_PACKAGE_RPI_USERLAND depends on BR2_PACKAGE_HAS_UDEV # libinput select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS
package/libinput/Config.in +2 -3
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LIBINPUT bool "libinput" - depends on BR2_ENABLE_LOCALE depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBEVDEV select BR2_PACKAGE_MTDEV
@@ -14,5 +13,5 @@ config BR2_PACKAGE_LIBINPUT http://freedesktop.org/wiki/Software/libinput/ -comment "libinput needs udev /dev management and a toolchain w/ locale" - depends on !BR2_PACKAGE_HAS_UDEV || !BR2_ENABLE_LOCALE +comment "libinput needs udev /dev management" + depends on !BR2_PACKAGE_HAS_UDEV
package/weston-imx/Config.in +0 -1
@@ -15,7 +15,6 @@ config BR2_PACKAGE_WESTON_IMX depends on !BR2_STATIC_LIBS # wayland depends on BR2_TOOLCHAIN_HAS_THREADS # wayland depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - depends on BR2_ENABLE_LOCALE # libinput depends on BR2_PACKAGE_HAS_UDEV depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL depends on !BR2_PACKAGE_WESTON
package/weston/Config.in +0 -1
@@ -5,7 +5,6 @@ comment "weston needs udev and a toolchain w/ locale, threads, dynamic library, config BR2_PACKAGE_WESTON bool "weston" - depends on BR2_ENABLE_LOCALE # libinput depends on BR2_PACKAGE_HAS_UDEV depends on !BR2_STATIC_LIBS # wayland depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
package/x11r7/xdriver_xf86-input-libinput/Config.in +2 -3
@@ -1,6 +1,5 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_LIBINPUT bool "xf86-input-libinput" - depends on BR2_ENABLE_LOCALE # libinput depends on BR2_PACKAGE_HAS_UDEV # libinput select BR2_PACKAGE_LIBINPUT select BR2_PACKAGE_XORGPROTO
@@ -9,5 +8,5 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_LIBINPUT around libinput, so while it does provide all features that libinput supports it does little beyond. -comment "xf86-input-libinput needs udev /dev management and a toolchain w/ locale" - depends on !BR2_PACKAGE_HAS_UDEV || !BR2_ENABLE_LOCALE +comment "xf86-input-libinput needs udev /dev management" + depends on !BR2_PACKAGE_HAS_UDEV
Signature · 1 line
2.20.1
PATCH v2 2/4 package/kodi: add optional support for wayland
For details see upstream PR 12664.
---
v2: no changes
package/kodi/Config.in | 44 +++++++++++++++++++++++++++++++++++++++--- package/kodi/kodi.mk | 16 +++++++++++++++ 2 files changed, 57 insertions(+), 3 deletions(-)
package/kodi/Config.in +41 -3
@@ -27,6 +27,27 @@ config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_RBPI depends on BR2_PACKAGE_HAS_UDEV # libinput select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND_GL + bool + default y + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # waylandpp + depends on BR2_HOST_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_PACKAGE_WAYLAND # waylandpp + select BR2_PACKAGE_WAYLANDPP + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND_GLES + bool + default y + depends on BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # waylandpp + depends on BR2_HOST_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_PACKAGE_WAYLAND # waylandpp + select BR2_PACKAGE_WAYLANDPP + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11_OPENGL bool default y
@@ -189,6 +210,17 @@ config BR2_PACKAGE_KODI_PLATFORM_RBPI select BR2_PACKAGE_LIBINPUT select BR2_PACKAGE_LIBXKBCOMMON +config BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GL + bool "Wayland/OpenGL" + depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND_GL + select BR2_PACKAGE_LIBGLU + select BR2_PACKAGE_LIBXKBCOMMON + +config BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GLES + bool "Wayland/GLES" + depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND_GLES + select BR2_PACKAGE_LIBXKBCOMMON + config BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL bool "X11/OpenGL" depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11_OPENGL
@@ -242,13 +274,19 @@ config BR2_PACKAGE_KODI_LIBUSB config BR2_PACKAGE_KODI_LIBVA bool "va" - depends on BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL + depends on \ + BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GL || \ + BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GLES || \ + BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL select BR2_PACKAGE_LIBVA help Enable libva support. -comment "libva support needs platform 'X11/OpenGL'" - depends on !BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL +comment "libva support needs platform 'Wayland' or 'X11/OpenGL'" + depends on \ + !BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GL && \ + !BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GLES && \ + !BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL config BR2_PACKAGE_KODI_LIBVDPAU bool "vdpau"
package/kodi/kodi.mk +16 -0
@@ -174,6 +174,22 @@ KODI_CONF_OPTS += -DCORE_PLATFORM_NAME=rbpi KODI_DEPENDENCIES += libinput libxkbcommon rpi-userland endif +ifeq ($(BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GL),y) +KODI_CONF_OPTS += \ + -DCORE_PLATFORM_NAME=wayland \ + -DWAYLAND_RENDER_SYSTEM=gl +KODI_DEPENDENCIES += libegl libgl libglu libxkbcommon waylandpp +endif + +ifeq ($(BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GLES),y) +KODI_CONF_OPTS += \ + -DCORE_PLATFORM_NAME=wayland \ + -DWAYLAND_RENDER_SYSTEM=gles +KODI_C_FLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl` +KODI_CXX_FLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl` +KODI_DEPENDENCIES += libegl libgles libxkbcommon waylandpp +endif + ifeq ($(BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL),y) KODI_CONF_OPTS += -DCORE_PLATFORM_NAME=x11 KODI_DEPENDENCIES += libegl libglu libgl xlib_libX11 xlib_libXext \
Signature · 1 line
2.20.1
PATCH v2 2/4 package/kodi: add optional support for wayland
Hello,
Quoted 3 lines · On Sun, 2 Feb 2020 18:33:31 +0100 Bernd Kuhls <[email protected]> wrote:
For details see upstream PR 12664.
Signed-off-by Bernd Kuhls <[email protected]>
I've applied, with a few changes, see below.
package/kodi/Config.in config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_RBPI · line 32
Quoted 3 lines
package/kodi/Config.in +3
-0+config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND_GL + bool + default y
I've added a
depends on BR2_PACKAGE_HAS_LIBGL
cause you then depend on "libgl".
package/kodi/Config.in config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_RBPI · line 37
Quoted 5 lines
package/kodi/Config.in +5
-0+ depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # waylandpp + depends on BR2_HOST_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_PACKAGE_WAYLAND # waylandpp + select BR2_PACKAGE_WAYLANDPP
You should not add such selects to blind options that are "default y". Indeed here, waylandpp is going to be selected as soon as all the dependencies of this option are met, regardless of whether you really enable Kodi's Wayland backend.
So I moved the select to BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GL.
package/kodi/Config.in config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_RBPI · line 48
Quoted 9 lines
package/kodi/Config.in +9
-0+config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND_GLES + bool + default y + depends on BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # waylandpp + depends on BR2_HOST_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_PACKAGE_WAYLAND # waylandpp + select BR2_PACKAGE_WAYLANDPP
Ditto here.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 3/4 package/mesa3d: add option to configure gbm support
In reply to Bernd KuhlsKodi 18.0-Leia will implement stand-alone gbm support alongside x11 & wayland. To enable building gbm support in mesa3d without x11 & wayland we need to add a specific configure option for it.
---
v2: no changes
package/mesa3d/Config.in | 6 ++++++ package/mesa3d/mesa3d.mk | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-)
package/mesa3d/Config.in +6 -0
@@ -355,6 +355,11 @@ if BR2_PACKAGE_MESA3D_DRIVER comment "OpenGL API Support" +config BR2_PACKAGE_MESA3D_GBM + bool "gbm" + help + Enable Generic Buffer Management (gbm) + config BR2_PACKAGE_MESA3D_OPENGL_GLX bool "OpenGL GLX" depends on BR2_PACKAGE_XORG7
@@ -370,6 +375,7 @@ config BR2_PACKAGE_MESA3D_OPENGL_EGL bool "OpenGL EGL" select BR2_PACKAGE_HAS_LIBEGL select BR2_PACKAGE_HAS_LIBEGL_WAYLAND + select BR2_PACKAGE_MESA3D_GBM help Use the Khronos EGL APIs. EGL is a window manager for OpenGL applications similar to GLX, for X, and WGL, for Windows.
package/mesa3d/mesa3d.mk +8 -1
@@ -200,10 +200,17 @@ endif MESA3D_CONF_OPTS += \ -Dplatforms=$(subst $(space),$(comma),$(MESA3D_PLATFORMS)) +ifeq ($(BR2_PACKAGE_MESA3D_GBM),y) +MESA3D_CONF_OPTS += \ + -Dgbm=true +else +MESA3D_CONF_OPTS += \ + -Dgbm=false +endif + ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y) MESA3D_PROVIDES += libegl MESA3D_CONF_OPTS += \ - -Dgbm=true \ -Degl=true else MESA3D_CONF_OPTS += \
Signature · 1 line
2.20.1
PATCH v2 3/4 package/mesa3d: add option to configure gbm support
Quoted 1 line · On Sun, 2 Feb 2020 18:33:32 +0100 Bernd Kuhls <[email protected]> wrote:
Kodi 18.0-Leia will implement stand-alone gbm support alongside x11 &
"will" ? I changed "will implement" to "implements" since your PATCH 4/4 uses that today :)
Applied with this change. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 4/4 package/kodi: add optional support for gbm
In reply to Bernd KuhlsFor details see upstream PR 11955.
---
v2: removed dependency on BR2_ENABLE_LOCALE
package/kodi/Config.in | 43 +++++++++++++++++++++++++++++++++++++++++- package/kodi/kodi.mk | 14 ++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-)
package/kodi/Config.in +42 -1
@@ -17,6 +17,23 @@ comment "kodi needs python w/ .py modules, a uClibc or glibc toolchain w/ C++, t config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS bool +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM_GL + bool + default y + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_MESA3D_GBM + depends on BR2_PACKAGE_HAS_UDEV # libinput + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM_GLES + bool + default y + depends on BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_MESA3D_GBM + depends on BR2_PACKAGE_HAS_UDEV # libinput + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_RBPI bool default y
@@ -204,6 +221,26 @@ choice prompt "platform" default BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL +config BR2_PACKAGE_KODI_PLATFORM_GBM_GL + bool "gbm/OpenGL" + depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM_GL + select BR2_PACKAGE_LIBGLU + select BR2_PACKAGE_LIBINPUT + select BR2_PACKAGE_LIBXKBCOMMON + +config BR2_PACKAGE_KODI_PLATFORM_GBM_GLES + bool "gbm/GLES" + depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM_GLES + select BR2_PACKAGE_LIBGLU + select BR2_PACKAGE_LIBINPUT + select BR2_PACKAGE_LIBXKBCOMMON + +comment "gbm support needs OpenGL or GLES support" + depends on \ + BR2_PACKAGE_MESA3D_GBM && \ + !BR2_PACKAGE_HAS_LIBEGL && \ + !BR2_PACKAGE_HAS_LIBGLES + config BR2_PACKAGE_KODI_PLATFORM_RBPI bool "Raspberry Pi" depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_RBPI
@@ -275,6 +312,8 @@ config BR2_PACKAGE_KODI_LIBUSB config BR2_PACKAGE_KODI_LIBVA bool "va" depends on \ + BR2_PACKAGE_KODI_PLATFORM_GBM_GL || \ + BR2_PACKAGE_KODI_PLATFORM_GBM_GLES || \ BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GL || \ BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GLES || \ BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL
@@ -282,8 +321,10 @@ config BR2_PACKAGE_KODI_LIBVA help Enable libva support. -comment "libva support needs platform 'Wayland' or 'X11/OpenGL'" +comment "libva support needs platform 'gbm', 'Wayland' or 'X11/OpenGL'" depends on \ + !BR2_PACKAGE_KODI_PLATFORM_GBM_GL && \ + !BR2_PACKAGE_KODI_PLATFORM_GBM_GLES && \ !BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GL && \ !BR2_PACKAGE_KODI_PLATFORM_WAYLAND_GLES && \ !BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL
package/kodi/kodi.mk +14 -0
@@ -169,6 +169,20 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) KODI_CXX_FLAGS += -latomic endif +ifeq ($(BR2_PACKAGE_KODI_PLATFORM_GBM_GL),y) +KODI_CONF_OPTS += \ + -DCORE_PLATFORM_NAME=gbm \ + -DGBM_RENDER_SYSTEM=gl +KODI_DEPENDENCIES += libegl libglu libinput libxkbcommon mesa3d +endif + +ifeq ($(BR2_PACKAGE_KODI_PLATFORM_GBM_GLES),y) +KODI_CONF_OPTS += \ + -DCORE_PLATFORM_NAME=gbm \ + -DGBM_RENDER_SYSTEM=gles +KODI_DEPENDENCIES += libgles libinput libxkbcommon mesa3d +endif + ifeq ($(BR2_PACKAGE_KODI_PLATFORM_RBPI),y) KODI_CONF_OPTS += -DCORE_PLATFORM_NAME=rbpi KODI_DEPENDENCIES += libinput libxkbcommon rpi-userland
Signature · 1 line
2.20.1
PATCH v2 4/4 package/kodi: add optional support for gbm
Hello Bernd,
Quoted 21 lines · On Sun, 2 Feb 2020 18:33:33 +0100 Bernd Kuhls <[email protected]> wrote:
For details see upstream PR 11955.
Signed-off-by Bernd Kuhls <[email protected]>---
v2: removed dependency onBR2_ENABLE_LOCALEpackage/kodi/Config.in | 43 +++++++++++++++++++++++++++++++++++++++++- package/kodi/kodi.mk | 14 ++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-)package/kodi/Config.in +3
-0@@ -17,6 +17,23 @@ comment "kodi needs python w/ .py modules, a uClibc or glibc toolchain w/ C++, t config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS bool +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM_GL + bool + default y
package/kodi/Config.in comment "kodi needs python w/ .py modules, a uClibc or glibc toolchain w/ C++, t · line 32
Quoted 10 lines
package/kodi/Config.in +10
-0+ depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_MESA3D_GBM + depends on BR2_PACKAGE_HAS_UDEV # libinput + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM_GLES + bool + default y + depends on BR2_PACKAGE_HAS_LIBGLES
Are you sure you don't need BR2_PACKAGE_HAS_LIBEGL ? In the .mk file, you use libegl.
Quoted 12 lines
package/kodi/Config.in +5
-0+ depends on BR2_PACKAGE_MESA3D_GBM + depends on BR2_PACKAGE_HAS_UDEV # libinput + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_RBPI bool default y@@ -204,6 +221,26 @@ choice prompt "platform" default BR2_PACKAGE_KODI_PLATFORM_X11_OPENGL +config BR2_PACKAGE_KODI_PLATFORM_GBM_GL
package/kodi/Config.in choice · line 234
Quoted 10 lines
package/kodi/Config.in +10
-0+ bool "gbm/OpenGL" + depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM_GL + select BR2_PACKAGE_LIBGLU + select BR2_PACKAGE_LIBINPUT + select BR2_PACKAGE_LIBXKBCOMMON + +config BR2_PACKAGE_KODI_PLATFORM_GBM_GLES + bool "gbm/GLES" + depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM_GLES + select BR2_PACKAGE_LIBGLU
LIBGLU is only available when BR2_PACKAGE_HAS_LIBGL is enabled, so this looks odd. And you don't have a dependency on libglu in the .mk file.
package/kodi/Config.in choice · line 239
Quoted 5 lines
package/kodi/Config.in +5
-0+ifeq ($(BR2_PACKAGE_KODI_PLATFORM_GBM_GL),y) +KODI_CONF_OPTS += \ + -DCORE_PLATFORM_NAME=gbm \ + -DGBM_RENDER_SYSTEM=gl +KODI_DEPENDENCIES += libegl libglu libinput libxkbcommon mesa3d
You don't need libgl ?
package/kodi/Config.in choice · line 244
Quoted 5 lines
package/kodi/Config.in +5
-0+ifeq ($(BR2_PACKAGE_KODI_PLATFORM_GBM_GLES),y) +KODI_CONF_OPTS += \ + -DCORE_PLATFORM_NAME=gbm \ + -DGBM_RENDER_SYSTEM=gles +KODI_DEPENDENCIES += libgles libinput libxkbcommon mesa3d
You don't need libegl here ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com