summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJan Drazil <xdrazi00@stud.fit.vutbr.cz>2014-03-19 13:01:05 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-03-20 16:46:29 +0100
commitc220581c789a49e6e00e7125301bd23d1651224a (patch)
tree442451918274f41c85da8ac5453331252a80206e /Makefile
parent42aca737b4520d457bea59dc9cb421a0ae6255bd (diff)
Fix microblize little endian toolchain
Buildroot toolchain creates big endian binaries instead of little endian ones for microblaze architecture. The reason is wrong BR2_ARCH string. KERNEL_ARCH must contain microblaze in both cases. Signed-off-by: Jan Drazil <xdrazi00@stud.fit.vutbr.cz> Signed-off-by: Jan Viktorin <xvikto03@stud.fit.vutbr.cz> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 011af5762..d49d7bf6b 100644
--- a/Makefile
+++ b/Makefile
@@ -318,7 +318,8 @@ KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
-e s/parisc64/parisc/ \
-e s/powerpc64/powerpc/ \
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
- -e s/sh.*/sh/)
+ -e s/sh.*/sh/ \
+ -e s/microblazeel/microblaze/)
ZCAT:=$(call qstrip,$(BR2_ZCAT))
BZCAT:=$(call qstrip,$(BR2_BZCAT))