xref: /OK3568_Linux_fs/buildroot/package/sunxi-mali-mainline/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_SUNXI_MALI_MAINLINE
2	bool "sunxi-mali-mainline"
3	depends on BR2_aarch64 || (BR2_ARM_EABIHF && BR2_arm)
4	depends on BR2_TOOLCHAIN_USES_GLIBC
5	select BR2_PACKAGE_HAS_LIBEGL
6	select BR2_PACKAGE_HAS_LIBGLES
7	help
8	  Install userspace Allwinner OpenGL libraries.
9
10	  https://github.com/bootlin/mali-blobs
11
12if BR2_PACKAGE_SUNXI_MALI_MAINLINE
13
14config BR2_PACKAGE_PROVIDES_LIBEGL
15	default "sunxi-mali-mainline"
16
17config BR2_PACKAGE_PROVIDES_LIBGLES
18	default "sunxi-mali-mainline"
19
20choice
21	prompt "Version"
22	default BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2
23	help
24	  Select the version of the userspace module.
25
26config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2
27	bool "r6p2"
28config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1
29	bool "r8p1"
30
31endchoice
32
33config BR2_PACKAGE_SUNXI_MALI_MAINLINE_REVISION
34	string
35	default "r6p2"	if BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2
36	default "r8p1"	if BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1
37
38endif
39
40comment "sunxi-mali needs an EABIhf glibc toolchain"
41	depends on BR2_arm
42	depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
43