diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-03-11 02:17:58 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-03-11 04:29:54 -0500 |
commit | 89a269285fe350346b794676c79119b31015292f (patch) | |
tree | d8185be6ba0d9d2fd8df49265f438e41f5591296 /arch/arc/Makefile | |
parent | 2a41b6dc28dc71c1a3f1622612a26edc58f7561e (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/Makefile | 4 |
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 @@ | |||
9 | UTS_MACHINE := arc | 9 | UTS_MACHINE := arc |
10 | 10 | ||
11 | ifeq ($(CROSS_COMPILE),) | 11 | ifeq ($(CROSS_COMPILE),) |
12 | ifndef CONFIG_CPU_BIG_ENDIAN | ||
12 | CROSS_COMPILE := arc-linux- | 13 | CROSS_COMPILE := arc-linux- |
14 | else | ||
15 | CROSS_COMPILE := arceb-linux- | ||
16 | endif | ||
13 | endif | 17 | endif |
14 | 18 | ||
15 | KBUILD_DEFCONFIG := nsim_700_defconfig | 19 | KBUILD_DEFCONFIG := nsim_700_defconfig |