xref: /OK3568_Linux_fs/buildroot/package/freescale-imx/gpu-amd-bin-mx51/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "gpu-amd-bin-mx51 needs a glibc EABI toolchain w/ C++"
2	depends on BR2_arm
3	depends on !BR2_ARM_EABI || !BR2_TOOLCHAIN_USES_GLIBC || \
4		!BR2_INSTALL_LIBSTDCPP
5
6config BR2_PACKAGE_GPU_AMD_BIN_MX51
7	bool "gpu-amd-bin-mx51 (also imx53)"
8	depends on BR2_ARM_EABI
9	depends on BR2_TOOLCHAIN_USES_GLIBC
10	depends on BR2_INSTALL_LIBSTDCPP
11	select BR2_PACKAGE_HAS_LIBEGL
12	select BR2_PACKAGE_HAS_LIBGLES
13	select BR2_PACKAGE_HAS_LIBOPENVG
14	help
15	  Freescale libraries, headers and executables for the
16	  AMD GPU on i.MX5x, containing OpenGL/ES, OpenVG
17	  and EGL support.
18
19if BR2_PACKAGE_GPU_AMD_BIN_MX51
20
21choice
22	prompt "Output option"
23	help
24	  There are two versions of this library: one for
25	  direct framebuffer access, one for X11 rendering.
26	  Choose here which version to install.
27
28config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11
29	bool "X11"
30	depends on BR2_PACKAGE_XORG7
31	select BR2_PACKAGE_LIBXCB
32	select BR2_PACKAGE_XLIB_LIBX11
33	select BR2_PACKAGE_XLIB_LIBXEXT
34	select BR2_PACKAGE_XLIB_LIBXRENDER
35	select BR2_PACKAGE_XLIB_LIBXDMCP
36	select BR2_PACKAGE_XLIB_LIBXAU
37
38comment "X11 backend needs X.org enabled"
39	depends on !BR2_PACKAGE_XORG7
40
41config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_FB
42	bool "Framebuffer"
43
44endchoice
45
46config BR2_PACKAGE_PROVIDES_LIBEGL
47	default "gpu-amd-bin-mx51"
48
49config BR2_PACKAGE_PROVIDES_LIBGLES
50	default "gpu-amd-bin-mx51"
51
52config BR2_PACKAGE_PROVIDES_LIBOPENVG
53	default "gpu-amd-bin-mx51"
54
55config BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES
56	bool "install examples"
57	help
58	  Copy the examples to the target.
59
60endif
61