2013-07-20 01:37:52 +02:00
|
|
|
config BR2_PACKAGE_SUNXI_MALI
|
|
|
|
bool "sunxi-mali"
|
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
|
|
|
# The egl/gles mali libraries are provided as a git submodule of the
|
|
|
|
# sunxi-mali repo and are downloaded by the sunxi-mali-prop package.
|
|
|
|
select BR2_PACKAGE_SUNXI_MALI_PROP
|
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
depends on BR2_arm
|
|
|
|
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
|
|
|
|
Install 3D triangle demo malitest application and the maliver application
|
|
|
|
which describes the kernel module version.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Version"
|
|
|
|
default BR2_PACKAGE_SUNXI_MALI_R3P0
|
|
|
|
help
|
2015-04-23 00:14:34 +02:00
|
|
|
Select the version of the kernel module. For the sunxi-kernel, the
|
2013-07-20 01:37:52 +02:00
|
|
|
appropriate version number is r3p0. For other kernels, use the maliver
|
|
|
|
application to determine the appropriate version.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_R2P4
|
|
|
|
bool "r2p4"
|
|
|
|
depends on BR2_ARM_EABI
|
|
|
|
|
|
|
|
comment "r2p4 requires an EABI toolchain"
|
|
|
|
depends on !BR2_ARM_EABI
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_R3P0
|
|
|
|
bool "r3p0"
|
|
|
|
depends on BR2_ARM_EABIHF
|
|
|
|
|
|
|
|
comment "r3p0 requires an EABIhf toolchain"
|
|
|
|
depends on !BR2_ARM_EABIHF
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_R3P1
|
|
|
|
depends on BR2_ARM_EABIHF
|
|
|
|
bool "r3p1"
|
|
|
|
|
|
|
|
comment "r3p1 requires an EABIhf toolchain"
|
|
|
|
depends on !BR2_ARM_EABIHF
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-10-31 13:02:39 +01:00
|
|
|
comment "sunxi-mali needs an (e)glibc toolchain"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|