package/mali-driver: only available for arm or AArch64

Currentlym this kernel module can be built by any architecture and this
leads to many failures. Since it's very unlikely that Mali will be part
of architectures other than AArch64 and arm let's depend on BR2_aarch64
and BR2_arm only.

Fixes:
http://autobuild.buildroot.net/results/f94885ef76865c3888d6cc52b35c93a742f92f3a

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 3872457e50)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Giulio Benetti 2022-04-12 15:27:53 +02:00 committed by Peter Korsgaard
parent a5a041a99e
commit 7813d493b5

View File

@ -3,6 +3,7 @@ comment "mali-driver needs a Linux kernel to be built"
config BR2_PACKAGE_MALI_DRIVER
bool "mali-driver"
depends on BR2_aarch64 || BR2_arm
depends on BR2_LINUX_KERNEL
help
This package builds and installs the Linux kernel driver for