Patchwork [1/3] armv8: Fix defconfig build

login
register
mail settings
Submitter Maxime Ripard
Date May 6, 2013, 10:14 a.m.
Message ID <1367835297-6560-2-git-send-email-maxime.ripard@free-electrons.com>
Download mbox | patch
Permalink /patch/241613/
State Accepted
Commit f59aeca6b48974c98fab28a300efb2980ac21154
Headers show

Comments

Maxime Ripard - May 6, 2013, 10:14 a.m.
Commit 14f48861 ("arc: Add ARC and ARC BE architecture") introduced a
sed match against arc* buildroot architecture to translate it to arc.

This causes a problem with armv8, which is called in buildroot aarch64,
which is also matching, resulting in a build failure.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/Makefile b/Makefile
index 1692a36..9128c75 100644
--- a/Makefile
+++ b/Makefile
@@ -238,7 +238,8 @@  ARCH:=$(call qstrip,$(BR2_ARCH))
 
 KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
 	-e s/i.86/i386/ -e s/sun4u/sparc64/ \
-	-e s/arc.*/arc/ \
+	-e s/arcle/arc/ \
+	-e s/arcbe/arc/ \
 	-e s/arm.*/arm/ -e s/sa110/arm/ \
 	-e s/aarch64/arm64/ \
 	-e s/bfin/blackfin/ \