[Buildroot] [PATCH] package/mali-driver: fix build failure with archs different from aarch64 and arm

Giulio Benetti giulio.benetti at benettiengineering.com
Tue Apr 12 13:27:53 UTC 2022


Actually this kernel module can be built by any architecture and this
leads to many failures. Sintce 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 at benettiengineering.com>
---
 package/mali-driver/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/mali-driver/Config.in b/package/mali-driver/Config.in
index fee67096c8..4c1a96d05c 100644
--- a/package/mali-driver/Config.in
+++ b/package/mali-driver/Config.in
@@ -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
-- 
2.25.1




More information about the buildroot mailing list