59adb53c4c
Enable aarch64 support for rpi-userland to provide vcmailbox and vcgencmd in 64bit builds. The are useful for programming OTP and system debug. The ARM64=ON parameter restricts the make targets to only include those supported on 64-bit i.e. it excludes the legacy Broadcom EGL drivers. Signed-off-by: Tim Gover <tim.gover@raspberrypi.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_RPI_USERLAND
|
|
bool "rpi-userland"
|
|
depends on BR2_arm || BR2_aarch64
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_HAS_LIBEGL if BR2_arm
|
|
select BR2_PACKAGE_HAS_LIBGLES if BR2_arm
|
|
select BR2_PACKAGE_HAS_LIBOPENVG if BR2_arm
|
|
select BR2_PACKAGE_HAS_LIBOPENMAX if BR2_arm
|
|
help
|
|
Raspberry Pi Userland contains the necessary library to use
|
|
the VideoCore driver.
|
|
|
|
Includes source for the ARM side code to interface to: EGL,
|
|
mmal, GLESv2, vcos, openmaxil, vchiq_arm, bcm_host, WFC,
|
|
OpenVG.
|
|
|
|
https://github.com/raspberrypi/userland/
|
|
|
|
if BR2_PACKAGE_RPI_USERLAND && BR2_arm
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
|
default "rpi-userland"
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
default "rpi-userland"
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBOPENVG
|
|
default "rpi-userland"
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBOPENMAX
|
|
default "rpi-userland"
|
|
|
|
config BR2_PACKAGE_RPI_USERLAND_HELLO
|
|
bool "hello_pi examples"
|
|
help
|
|
Install the hello-pi examples to test the HW (GPU, camera...)
|
|
|
|
endif
|
|
|
|
comment "rpi-userland needs a toolchain w/ C++, threads, dynamic library"
|
|
depends on BR2_arm || BR2_arch64
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
BR2_STATIC_LIBS
|