2013-07-20 01:37:52 +02:00
|
|
|
config BR2_PACKAGE_SUNXI_MALI
|
|
|
|
bool "sunxi-mali"
|
2017-02-18 15:52:57 +01:00
|
|
|
depends on BR2_arm
|
2017-02-21 22:43:16 +01:00
|
|
|
# libump package only provide libUMP.so.3 which is used by
|
|
|
|
# libMali for r3p0 and r3p1 Mali kernel module. This version
|
|
|
|
# is only available for ARM EABIhf.
|
|
|
|
# libMali for r2p4 Mali kernel module (available for ARM EABI)
|
|
|
|
# requires libUMP.so.2.
|
|
|
|
depends on BR2_ARM_EABIHF # libUMP.so.3 only
|
2017-02-18 15:52:57 +01:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2014-04-05 17:21:39 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
2014-04-05 17:21:38 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
2015-06-26 10:13:37 +02:00
|
|
|
select BR2_PACKAGE_LIBUMP
|
2013-07-20 01:37:52 +02:00
|
|
|
help
|
|
|
|
Install the ARM Mali drivers for sunxi based systems (i.e
|
|
|
|
systems based on ARM Allwinner SoCs). This driver requires
|
|
|
|
either the sunxi-kernel with the ARM Mali driver enabled or
|
|
|
|
the installation of the ARM Mali drivers as an external
|
|
|
|
module.
|
|
|
|
|
|
|
|
http://github.com/linux-sunxi/sunxi-mali
|
|
|
|
|
|
|
|
if BR2_PACKAGE_SUNXI_MALI
|
|
|
|
|
2014-04-05 17:21:39 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
2013-12-20 23:27:53 +01:00
|
|
|
default "sunxi-mali"
|
|
|
|
|
2014-04-05 17:21:38 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
2013-12-20 23:27:54 +01:00
|
|
|
default "sunxi-mali"
|
|
|
|
|
2013-07-20 01:37:52 +02:00
|
|
|
config BR2_PACKAGE_SUNXI_MALI_DBG
|
|
|
|
bool "install malitest and maliver tools"
|
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
Install 3D triangle demo malitest application and the
|
|
|
|
maliver application which describes the kernel module
|
|
|
|
version.
|
2013-07-20 01:37:52 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Version"
|
|
|
|
default BR2_PACKAGE_SUNXI_MALI_R3P0
|
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
Select the version of the kernel module. For the
|
|
|
|
sunxi-kernel, the appropriate version number is r3p0. For
|
|
|
|
other kernels, use the maliver application to determine the
|
|
|
|
appropriate version.
|
2013-07-20 01:37:52 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_R3P0
|
|
|
|
bool "r3p0"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_R3P1
|
|
|
|
bool "r3p1"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2017-02-21 22:43:16 +01:00
|
|
|
comment "sunxi-mali needs an EABIhf glibc toolchain"
|
2013-10-31 13:02:39 +01:00
|
|
|
depends on BR2_arm
|
2017-02-21 22:43:16 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|