1 config BR2_PACKAGE_ODROID_MALI
3 select BR2_PACKAGE_HAS_LIBEGL
4 select BR2_PACKAGE_HAS_LIBGLES
5 select BR2_PACKAGE_ODROID_SCRIPTS # runtime
6 depends on BR2_TOOLCHAIN_USES_GLIBC
7 depends on BR2_aarch64 || BR2_ARM_EABIHF
8 # The version of the khrplatform.h header bundled with
9 # odroid-mali has a definition of the khronos_intptr_t and
10 # khronos_ssize_t that doesn't match the official Khronos
11 # registry headers or the Mesa3D headers. Due to this, it
12 # causes conflicts with some packages that redefines those
13 # types (with the correct definitions), such as libepoxy.
15 # Issue reported upstream at:
16 # https://github.com/mdrjr/c2_mali/issues/1
19 Install the ARM Mali drivers for odroidc2 based systems.
21 https://github.com/mdrjr/c2_mali
23 if BR2_PACKAGE_ODROID_MALI
25 config BR2_PACKAGE_PROVIDES_LIBEGL
28 config BR2_PACKAGE_PROVIDES_LIBGLES
33 config BR2_PACKAGE_ODROID_MALI_X11
35 depends on BR2_aarch64 # No 32 bit version available
36 select BR2_PACKAGE_LIBDRM
37 select BR2_PACKAGE_XLIB_LIBX11
38 select BR2_PACKAGE_XLIB_LIBXDAMAGE
39 select BR2_PACKAGE_XLIB_LIBXEXT
40 select BR2_PACKAGE_XLIB_LIBXFIXES
42 comment "odroid-mali needs a glibc toolchain"
43 depends on BR2_aarch64 || BR2_ARM_EABIHF
44 depends on !BR2_TOOLCHAIN_USES_GLIBC