hc
2023-05-26 a23f51ed7a39e452c1037343a84d7db1ca2c5bd7
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
60
comment "gpu-amd-bin-mx51 needs a glibc EABI toolchain w/ C++"
   depends on BR2_arm
   depends on !BR2_ARM_EABI || !BR2_TOOLCHAIN_USES_GLIBC || \
       !BR2_INSTALL_LIBSTDCPP
 
config BR2_PACKAGE_GPU_AMD_BIN_MX51
   bool "gpu-amd-bin-mx51 (also imx53)"
   depends on BR2_ARM_EABI
   depends on BR2_TOOLCHAIN_USES_GLIBC
   depends on BR2_INSTALL_LIBSTDCPP
   select BR2_PACKAGE_HAS_LIBEGL
   select BR2_PACKAGE_HAS_LIBGLES
   select BR2_PACKAGE_HAS_LIBOPENVG
   help
     Freescale libraries, headers and executables for the
     AMD GPU on i.MX5x, containing OpenGL/ES, OpenVG
     and EGL support.
 
if BR2_PACKAGE_GPU_AMD_BIN_MX51
 
choice
   prompt "Output option"
   help
     There are two versions of this library: one for
     direct framebuffer access, one for X11 rendering.
     Choose here which version to install.
 
config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11
   bool "X11"
   depends on BR2_PACKAGE_XORG7
   select BR2_PACKAGE_LIBXCB
   select BR2_PACKAGE_XLIB_LIBX11
   select BR2_PACKAGE_XLIB_LIBXEXT
   select BR2_PACKAGE_XLIB_LIBXRENDER
   select BR2_PACKAGE_XLIB_LIBXDMCP
   select BR2_PACKAGE_XLIB_LIBXAU
 
comment "X11 backend needs X.org enabled"
   depends on !BR2_PACKAGE_XORG7
 
config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_FB
   bool "Framebuffer"
 
endchoice
 
config BR2_PACKAGE_PROVIDES_LIBEGL
   default "gpu-amd-bin-mx51"
 
config BR2_PACKAGE_PROVIDES_LIBGLES
   default "gpu-amd-bin-mx51"
 
config BR2_PACKAGE_PROVIDES_LIBOPENVG
   default "gpu-amd-bin-mx51"
 
config BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES
   bool "install examples"
   help
     Copy the examples to the target.
 
endif