aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-03-11 02:17:58 -0500
committerVineet Gupta <vgupta@synopsys.com>2016-03-11 04:29:54 -0500
commit89a269285fe350346b794676c79119b31015292f (patch)
treed8185be6ba0d9d2fd8df49265f438e41f5591296 /arch/arc/Makefile
parent2a41b6dc28dc71c1a3f1622612a26edc58f7561e (diff)
ARC: [BE] Select correct CROSS_COMPILE prefix
This allows CONFIG_CPU_BIG_ENDIAN=y to build correctly out of the box, w/o any other tweaks. Cc: Noam Camus <noamc@ezchip.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synosys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index c8230f3395f2..babc09c61c6c 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -9,7 +9,11 @@
9UTS_MACHINE := arc 9UTS_MACHINE := arc
10 10
11ifeq ($(CROSS_COMPILE),) 11ifeq ($(CROSS_COMPILE),)
12ifndef CONFIG_CPU_BIG_ENDIAN
12CROSS_COMPILE := arc-linux- 13CROSS_COMPILE := arc-linux-
14else
15CROSS_COMPILE := arceb-linux-
16endif
13endif 17endif
14 18
15KBUILD_DEFCONFIG := nsim_700_defconfig 19KBUILD_DEFCONFIG := nsim_700_defconfig