Browse Source

barebox: fix ARCH value for arm64

barebox 2016.08 added arm64 support using ARCH=arm.

[Peter: extend commit message to clarify]
Signed-off-by: Raphael Poggi <poggi.raph@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Raphaël Poggi 9 years ago
parent
commit
bbe71a699a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      boot/barebox/barebox.mk

+ 2 - 0
boot/barebox/barebox.mk

@@ -61,6 +61,8 @@ else ifeq ($$(KERNEL_ARCH),x86_64)
 $(1)_ARCH = x86
 $(1)_ARCH = x86
 else ifeq ($$(KERNEL_ARCH),powerpc)
 else ifeq ($$(KERNEL_ARCH),powerpc)
 $(1)_ARCH = ppc
 $(1)_ARCH = ppc
+else ifeq ($$(KERNEL_ARCH),arm64)
+$(1)_ARCH = arm
 else
 else
 $(1)_ARCH = $$(KERNEL_ARCH)
 $(1)_ARCH = $$(KERNEL_ARCH)
 endif
 endif