kumquat-buildroot/package/rockchip-mali/Config.in
Maxime Chevallier 97c74a73e5 package/rockchip-mali: new package
There is already a package adding Mali blobs for Sunxi Mali Utgard
GPUs. Many Rockchip SoCs feature a Mali Bifrost GPU and need specific
libraries provided under binary form with a non-GPL compliant license
by Rockchip. Package these libraries.

While the repository at https://github.com/rockchip-linux/libmali
supports many GPU variants, this package for now only supports the
Bifrost GPU blob. Support for other GPU blobs can be added later.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
[Thomas:
- Rename to rockchip-mali, because it contains other blobs than
  Bifrost ones
- Add missing entry in DEVELOPERS file
- Change BR2_arm to BR2_ARM_EABIHF as only EABIhf blobs are provided
  for arm32
- Add BR2_TOOLCHAIN_HAS_THREADS inherited from libdrm.
- Expose as a libgbm provider.
- Drop the patch, which was not necessary.
- Rework the entire installation logic, to be much simpler.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-08 17:14:40 +01:00

32 lines
950 B
Plaintext

config BR2_PACKAGE_ROCKCHIP_MALI
bool "rockchip-mali"
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
help
Install the binary user-space libraries for the ARM Mali GPU
suitable for Rockchip platforrms. This package requires a
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