2018-02-15 14:57:17 +01:00
|
|
|
config BR2_PACKAGE_SUNXI_MALI_MAINLINE
|
|
|
|
bool "sunxi-mali-mainline"
|
2018-08-22 02:06:47 +02:00
|
|
|
depends on BR2_aarch64 || (BR2_ARM_EABIHF && BR2_arm)
|
2018-02-15 14:57:17 +01:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
help
|
|
|
|
Install userspace Allwinner OpenGL libraries.
|
|
|
|
|
2018-08-22 13:31:45 +02:00
|
|
|
https://github.com/bootlin/mali-blobs
|
2018-02-15 14:57:17 +01:00
|
|
|
|
|
|
|
if BR2_PACKAGE_SUNXI_MALI_MAINLINE
|
|
|
|
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
|
|
|
default "sunxi-mali-mainline"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
|
|
default "sunxi-mali-mainline"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Version"
|
|
|
|
default BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2
|
|
|
|
help
|
|
|
|
Select the version of the userspace module.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2
|
|
|
|
bool "r6p2"
|
2018-08-22 02:06:47 +02:00
|
|
|
config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1
|
|
|
|
bool "r8p1"
|
2018-02-15 14:57:17 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_MAINLINE_REVISION
|
|
|
|
string
|
|
|
|
default "r6p2" if BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2
|
2018-08-22 02:06:47 +02:00
|
|
|
default "r8p1" if BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1
|
2018-02-15 14:57:17 +01:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
comment "sunxi-mali needs an EABIhf glibc toolchain"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|