hc
2023-02-14 0cc9b7c44253c93447ddf73e206fbdbb3d9f16b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
config BR2_PACKAGE_SUNXI_MALI
   bool "sunxi-mali"
   depends on BR2_arm
   # 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
   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_R3P0
   bool "r3p0"
 
config BR2_PACKAGE_SUNXI_MALI_R3P1
   bool "r3p1"
 
endchoice
 
endif
 
comment "sunxi-mali needs an EABIhf glibc toolchain"
   depends on BR2_arm
   depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF