xref: /OK3568_Linux_fs/buildroot/package/rpi-userland/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_RPI_USERLAND
2	bool "rpi-userland"
3	depends on BR2_arm
4	depends on BR2_INSTALL_LIBSTDCPP
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on !BR2_STATIC_LIBS
7	select BR2_PACKAGE_HAS_LIBEGL
8	select BR2_PACKAGE_HAS_LIBGLES
9	select BR2_PACKAGE_HAS_LIBOPENVG
10	select BR2_PACKAGE_HAS_LIBOPENMAX
11	help
12	  Raspberry Pi Userland contains the necessary library to use
13	  the VideoCore driver.
14
15	  Includes source for the ARM side code to interface to: EGL,
16	  mmal, GLESv2, vcos, openmaxil, vchiq_arm, bcm_host, WFC,
17	  OpenVG.
18
19	  https://github.com/raspberrypi/userland/
20
21if BR2_PACKAGE_RPI_USERLAND
22
23config BR2_PACKAGE_PROVIDES_LIBEGL
24	default "rpi-userland"
25
26config BR2_PACKAGE_PROVIDES_LIBGLES
27	default "rpi-userland"
28
29config BR2_PACKAGE_PROVIDES_LIBOPENVG
30	default "rpi-userland"
31
32config BR2_PACKAGE_PROVIDES_LIBOPENMAX
33	default "rpi-userland"
34
35config BR2_PACKAGE_RPI_USERLAND_HELLO
36	bool "hello_pi examples"
37	help
38	  Install the hello-pi examples to test the HW (GPU, camera...)
39
40endif
41
42comment "rpi-userland needs a toolchain w/ C++, threads, dynamic library"
43	depends on BR2_arm
44	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
45		BR2_STATIC_LIBS
46