summaryrefslogtreecommitdiffstats
path: root/package/ti-gfx/Config.in
blob: 6ec2f23117014c7ea216f932b76bec889ed7eb4e (plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
config BR2_PACKAGE_TI_GFX
	bool "ti-gfx"
	depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
	select BR2_HOSTARCH_NEEDS_IA32_LIBS
	select BR2_PACKAGE_HAS_LIBEGL
	select BR2_PACKAGE_HAS_LIBGLES
	select BR2_PACKAGE_HAS_POWERVR
	select BR2_PACKAGE_FBSET if !BR2_PACKAGE_BUSYBOX # Runtime dependency only
	select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
	help
	  Graphics libraries for TI boards using SGX acceleration.

	  Supports OMAP35xx, DM37xx/AM37xx, DM816x, DM814x, AM335x and
	  AM43xx.

	  For newer CPUs or kernels use the ti-sgx-{km,um} packages.

	  http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk/

if BR2_PACKAGE_TI_GFX

config BR2_PACKAGE_PROVIDES_LIBEGL
	default "ti-gfx"

config BR2_PACKAGE_PROVIDES_LIBGLES
	default "ti-gfx"

config BR2_PACKAGE_PROVIDES_POWERVR
	default "ti-gfx"

config BR2_PACKAGE_TI_GFX_DEBUG
	bool "enable debug support"
	help
	  Turns on debugging in the kernel module, install libraries built with
	  debugging enabled, installs various tests and installs esrev script.

config BR2_PACKAGE_TI_GFX_DEMOS
	bool "install demos"
	default y
	help
	  Install the OGLES2ChameleonMan and OGLES2MagicLantern demos

config BR2_PACKAGE_TI_GFX_EGLIMAGE
	bool "install eglimage version of libraries"
	help
	  Installs OpenGL libaries which support the eglimage api.

choice
	prompt "Target"
	default BR2_PACKAGE_TI_GFX_ES3
	help
	  Select the SOC for which you would like to install drivers. Please use the
	  chart at
	  http://processors.wiki.ti.com/index.php/OMAP35x_Graphics_SDK_Getting_Started_Guide

config BR2_PACKAGE_TI_GFX_ES3
	bool "es3.x (OMAP35xx, AM35xx Rev 3.1+)"
	help
	  OMAP35xx, AM35xx Rev 3.1+

config BR2_PACKAGE_TI_GFX_ES5
	bool "es5.x (AM37xx, DM37xx)"
	help
	  AM37xx, DM37xx

config BR2_PACKAGE_TI_GFX_ES6
	bool "es6.x (AM387x, DMA814x, AM389x, DM816x)"
	help
	  AM387x, DM814x, AM389x, DM816x

config BR2_PACKAGE_TI_GFX_ES8
	bool "es8.x (AM335x)"
	help
	  AM335x

endchoice

endif

comment "ti-gfx needs a glibc toolchain and a Linux kernel to be built"
	depends on BR2_arm
	depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC)
OpenPOWER on IntegriCloud