diff mbox

[v2] barebox: fix ARCH value for arm64

Message ID 1471012312-51461-1-git-send-email-poggi.raph@gmail.com
State Accepted
Commit bbe71a699abc65492a677682af21aa43286af397
Headers show

Commit Message

Raphaƫl Poggi Aug. 12, 2016, 2:31 p.m. UTC
Signed-off-by: Raphael Poggi <poggi.raph@gmail.com>
---
 boot/barebox/barebox.mk | 2 ++
 1 file changed, 2 insertions(+)

Comments

Peter Korsgaard Aug. 16, 2016, 6:06 a.m. UTC | #1
>>>>> "Raphael" == Raphael Poggi <poggi.raph@gmail.com> writes:

 > Signed-off-by: Raphael Poggi <poggi.raph@gmail.com>

Committed after extending the commit message to clarify that this is
from 2016.08 onwards as suggested by Baruch, thanks.

> ---
 >  boot/barebox/barebox.mk | 2 ++
 >  1 file changed, 2 insertions(+)

 > diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk
 > index 832297e..7a110d2 100644
 > --- a/boot/barebox/barebox.mk
 > +++ b/boot/barebox/barebox.mk
 > @@ -61,6 +61,8 @@ else ifeq ($$(KERNEL_ARCH),x86_64)
 >  $(1)_ARCH = x86
 >  else ifeq ($$(KERNEL_ARCH),powerpc)
 >  $(1)_ARCH = ppc
 > +else ifeq ($$(KERNEL_ARCH),arm64)
 > +$(1)_ARCH = arm
 >  else
 >  $(1)_ARCH = $$(KERNEL_ARCH)
 >  endif
 > -- 
 > 2.1.0

 > _______________________________________________
 > buildroot mailing list
 > buildroot@busybox.net
 > http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox

Patch

diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk
index 832297e..7a110d2 100644
--- a/boot/barebox/barebox.mk
+++ b/boot/barebox/barebox.mk
@@ -61,6 +61,8 @@  else ifeq ($$(KERNEL_ARCH),x86_64)
 $(1)_ARCH = x86
 else ifeq ($$(KERNEL_ARCH),powerpc)
 $(1)_ARCH = ppc
+else ifeq ($$(KERNEL_ARCH),arm64)
+$(1)_ARCH = arm
 else
 $(1)_ARCH = $$(KERNEL_ARCH)
 endif