2020-03-06 08:14:36 +01:00
|
|
|
config BR2_PACKAGE_ROCKCHIP_MALI
|
|
|
|
bool "rockchip-mali"
|
2023-02-20 12:21:47 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2020-03-06 08:14:36 +01:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
depends on BR2_ARM_EABIHF || BR2_aarch64
|
|
|
|
# lidbrm. This would normally need a Config.in comment, but
|
|
|
|
# these blobs are linked against glibc, so we are sure to have
|
|
|
|
# thread support, so don't bother.
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
select BR2_PACKAGE_HAS_LIBGBM
|
|
|
|
select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
|
|
|
|
select BR2_PACKAGE_LIBDRM
|
2022-01-08 18:07:09 +01:00
|
|
|
select BR2_PACKAGE_MALI_DRIVER if BR2_LINUX_KERNEL
|
2020-03-06 08:14:36 +01:00
|
|
|
help
|
|
|
|
Install the binary user-space libraries for the ARM Mali GPU
|
2022-05-29 01:41:25 +02:00
|
|
|
suitable for Rockchip platforms. This package requires a
|
2020-03-06 08:14:36 +01:00
|
|
|
kernel with the ARM Mali GPU kernel driver enabled, as found
|
|
|
|
in the 'mali-driver' package.
|
|
|
|
|
|
|
|
if BR2_PACKAGE_ROCKCHIP_MALI
|
|
|
|
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
|
|
|
default "rockchip-mali"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
|
|
default "rockchip-mali"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGBM
|
|
|
|
default "rockchip-mali"
|
|
|
|
|
|
|
|
endif
|
2023-02-20 12:21:47 +01:00
|
|
|
|
|
|
|
comment "rockchip-mali needs a glibc toolchain w/ C++, threads"
|
|
|
|
depends on BR2_ARM_EABIHF || BR2_aarch64
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
!BR2_TOOLCHAIN_USES_GLIBC || !BR2_TOOLCHAIN_HAS_THREADS
|