6a7a652b14
This package provides Mali libraries for Sunxi Mali Utgard GPUs. The trailing -mainline is historical and was used at a time when there was two packages providing these libraries. The "non-upstream" package has been removed some time ago so before adding new packages bringing support for other ARM Mali GPU versions or implementations, rename sunxi-mali-mainline into sunxi-mali-utgard. Add a legacy entry. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> [Giulio: rebase on master. Rename SUNXI_MALI_MAINLINE_REV to SUNXI_MALI_UTGARD_REV in sunxi-mali-mailine-driver.mk and BR2_PACKAGE_SUNXI_MALI_MAINLINE to BR2_PACKAGE_SUNXI_UTGARD in sunxi-mali-mainline-driver/Config.in to respect bisectability] Tested-by: Luca Ceresoli <luca@lucaceresoli.net> [Build tested only] Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> [Arnout: also update existing select in Config.in.legacy] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
config BR2_PACKAGE_SUNXI_MALI_UTGARD
|
|
bool "sunxi-mali-utgard"
|
|
depends on BR2_aarch64 || (BR2_ARM_EABIHF && BR2_arm)
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
|
help
|
|
Install userspace Allwinner OpenGL libraries for Mali
|
|
Utgard GPUs.
|
|
|
|
https://github.com/bootlin/mali-blobs
|
|
|
|
if BR2_PACKAGE_SUNXI_MALI_UTGARD
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
|
default "sunxi-mali-utgard"
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
default "sunxi-mali-utgard"
|
|
|
|
choice
|
|
prompt "Version"
|
|
default BR2_PACKAGE_SUNXI_MALI_UTGARD_R6P2
|
|
help
|
|
Select the version of the userspace module.
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_UTGARD_R6P2
|
|
bool "r6p2"
|
|
config BR2_PACKAGE_SUNXI_MALI_UTGARD_R8P1
|
|
bool "r8p1"
|
|
|
|
endchoice
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_UTGARD_REVISION
|
|
string
|
|
default "r6p2" if BR2_PACKAGE_SUNXI_MALI_UTGARD_R6P2
|
|
default "r8p1" if BR2_PACKAGE_SUNXI_MALI_UTGARD_R8P1
|
|
|
|
endif
|
|
|
|
comment "sunxi-mali-utgard needs an EABIhf glibc toolchain"
|
|
depends on BR2_arm
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|