On 15/09/2021 14:42, Hauke Mehrtens wrote:
This adds the hash also for the aarch64 toolchain in addition for the
x86_64 toolchain. This gets the build on a Linux aarch64 host one step
further.

Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de>
---
  package/boot/arm-trusted-firmware-mvebu/Makefile | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/package/boot/arm-trusted-firmware-mvebu/Makefile 
b/package/boot/arm-trusted-firmware-mvebu/Makefile
index 2369a1930a0b..ebbf1ef5b8b7 100644
--- a/package/boot/arm-trusted-firmware-mvebu/Makefile
+++ b/package/boot/arm-trusted-firmware-mvebu/Makefile
@@ -166,7 +166,11 @@ 
CM3_GCC_SOURCE=$(CM3_GCC_NAME)-$(CM3_GCC_RELEASE)-$(CM3_GCC_VERSION).tar.xz
  define Download/cm3-gcc
    FILE:=$(CM3_GCC_SOURCE)
    
URL:=https://developer.arm.com/-/media/Files/downloads/gnu-a/$(CM3_GCC_RELEASE)/binrel
+ifeq ($(HOST_ARCH),aarch64)
+  HASH:=1a42eecafa03dc6f32b8ae49ffcd15114dc818efbd72292fa6bab58233940bb9
+else
    HASH:=bf7ee185936d22d787b80c8da573f72ead5675695331fb8b590f0133ef1f6bb9
+endif
  endef
define Build/Clean


Oh nice, I wasn't aware that it even gets that far ;)

I checked ARM's site, and it looks like we could also switch from the gnu-a to the gnu-rm toolchain, which also has mac binaries. If anyone cares, I don't own/use mac myself.

Cheers,
Andre

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to