2e19aad44a
>From [1]: "Even though the ordering has absolutely no consequences in Kconfig, it is not logical (when reading). It is more logical and far easier to understand when depends come first, followed by the selects." Also, the Config.in example in the manual suggests to use this coding style [2]. [1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html [2] https://buildroot.org/downloads/manual/manual.html#writing-rules-config-in Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
config BR2_PACKAGE_SUNXI_MALI
|
|
bool "sunxi-mali"
|
|
depends on BR2_arm
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
|
select BR2_PACKAGE_LIBUMP
|
|
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
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
|
default "sunxi-mali"
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
default "sunxi-mali"
|
|
|
|
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
|
|
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.
|
|
|
|
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
|
|
|
|
comment "sunxi-mali needs a glibc toolchain"
|
|
depends on BR2_arm
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|