2016-07-24 18:35:06 +02:00
|
|
|
config BR2_PACKAGE_ODROID_MALI
|
|
|
|
bool "odroid-mali"
|
|
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
select BR2_PACKAGE_ODROID_SCRIPTS # runtime
|
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
depends on BR2_aarch64 || BR2_ARM_EABIHF
|
2017-03-04 15:34:19 +01:00
|
|
|
# The version of the khrplatform.h header bundled with
|
|
|
|
# odroid-mali has a definition of the khronos_intptr_t and
|
|
|
|
# khronos_ssize_t that doesn't match the official Khronos
|
|
|
|
# registry headers or the Mesa3D headers. Due to this, it
|
|
|
|
# causes conflicts with some packages that redefines those
|
|
|
|
# types (with the correct definitions), such as libepoxy.
|
|
|
|
#
|
|
|
|
# Issue reported upstream at:
|
|
|
|
# https://github.com/mdrjr/c2_mali/issues/1
|
|
|
|
depends on BROKEN
|
2016-07-24 18:35:06 +02:00
|
|
|
help
|
|
|
|
Install the ARM Mali drivers for odroidc2 based systems.
|
|
|
|
|
|
|
|
https://github.com/mdrjr/c2_mali
|
|
|
|
|
|
|
|
if BR2_PACKAGE_ODROID_MALI
|
|
|
|
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
|
|
|
default "odroid-mali"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
|
|
default "odroid-mali"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2016-10-25 19:54:17 +02:00
|
|
|
config BR2_PACKAGE_ODROID_MALI_X11
|
|
|
|
bool
|
|
|
|
depends on BR2_aarch64 # No 32 bit version available
|
|
|
|
select BR2_PACKAGE_LIBDRM
|
|
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
|
|
|
|
2016-07-24 18:35:06 +02:00
|
|
|
comment "odroid-mali needs a glibc toolchain"
|
|
|
|
depends on BR2_aarch64 || BR2_ARM_EABIHF
|
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|