Patchwork [5/7] Support KERNEL_ARCH for AArch64

login
register
mail settings
Submitter Thomas Petazzoni
Date Oct. 28, 2012, 4:40 p.m.
Message ID <1351442438-20639-6-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/194720/
State Accepted
Commit b90a10303e459dd288d434b27fc1e688ff94afba
Headers show

Comments

Thomas Petazzoni - Oct. 28, 2012, 4:40 p.m.
The architecture tuple is 'aarch64', but the kernel people decided to
call it 'arm64', so we have to do some mungling to get the kernel
architecture name from the Buildroot architecture name.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 Makefile |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/Makefile b/Makefile
index 0128839..dff6aeb 100644
--- a/Makefile
+++ b/Makefile
@@ -235,6 +235,7 @@  ARCH:=$(call qstrip,$(BR2_ARCH))
 KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
 	-e s/i.86/i386/ -e s/sun4u/sparc64/ \
 	-e s/arm.*/arm/ -e s/sa110/arm/ \
+	-e s/aarch64/arm64/ \
 	-e s/bfin/blackfin/ \
 	-e s/parisc64/parisc/ \
 	-e s/powerpc64/powerpc/ \