xref: /OK3568_Linux_fs/buildroot/package/ti-gfx/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_TI_GFX
2	bool "ti-gfx"
3	depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
4	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
5	select BR2_HOSTARCH_NEEDS_IA32_LIBS
6	select BR2_PACKAGE_HAS_LIBEGL
7	select BR2_PACKAGE_HAS_LIBGLES
8	select BR2_PACKAGE_HAS_POWERVR
9	select BR2_PACKAGE_FBSET if !BR2_PACKAGE_BUSYBOX # Runtime dependency only
10	select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
11	help
12	  Graphics libraries for TI boards using SGX acceleration.
13
14	  Supports OMAP35xx, DM37xx/AM37xx, DM816x, DM814x, AM335x and
15	  AM43xx.
16
17	  For newer CPUs or kernels use the ti-sgx-{km,um} packages.
18
19	  http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk/
20
21if BR2_PACKAGE_TI_GFX
22
23config BR2_PACKAGE_PROVIDES_LIBEGL
24	default "ti-gfx"
25
26config BR2_PACKAGE_PROVIDES_LIBGLES
27	default "ti-gfx"
28
29config BR2_PACKAGE_PROVIDES_POWERVR
30	default "ti-gfx"
31
32config BR2_PACKAGE_TI_GFX_DEBUG
33	bool "enable debug support"
34	help
35	  Turns on debugging in the kernel module, install libraries
36	  built with debugging enabled, installs various tests and
37	  installs esrev script.
38
39config BR2_PACKAGE_TI_GFX_DEMOS
40	bool "install demos"
41	default y
42	help
43	  Install the OGLES2ChameleonMan and OGLES2MagicLantern demos
44
45config BR2_PACKAGE_TI_GFX_EGLIMAGE
46	bool "install eglimage version of libraries"
47	help
48	  Installs OpenGL libaries which support the eglimage api.
49
50choice
51	prompt "Target"
52	default BR2_PACKAGE_TI_GFX_ES3
53	help
54	  Select the SOC for which you would like to install
55	  drivers. Please use the chart at
56	  http://processors.wiki.ti.com/index.php/OMAP35x_Graphics_SDK_Getting_Started_Guide
57
58config BR2_PACKAGE_TI_GFX_ES3
59	bool "es3.x (OMAP35xx, AM35xx Rev 3.1+)"
60	help
61	  OMAP35xx, AM35xx Rev 3.1+
62
63config BR2_PACKAGE_TI_GFX_ES5
64	bool "es5.x (AM37xx, DM37xx)"
65	help
66	  AM37xx, DM37xx
67
68config BR2_PACKAGE_TI_GFX_ES6
69	bool "es6.x (AM387x, DMA814x, AM389x, DM816x)"
70	help
71	  AM387x, DM814x, AM389x, DM816x
72
73config BR2_PACKAGE_TI_GFX_ES8
74	bool "es8.x (AM335x)"
75	help
76	  AM335x
77
78endchoice
79
80endif
81
82comment "ti-gfx needs a glibc toolchain and a Linux kernel to be built"
83	depends on BR2_arm
84	depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC)
85