diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-03-11 10:17:58 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-03-11 12:29:54 +0300 |
commit | 89a269285fe350346b794676c79119b31015292f (patch) | |
tree | d8185be6ba0d9d2fd8df49265f438e41f5591296 /arch/arc | |
parent | 2a41b6dc28dc71c1a3f1622612a26edc58f7561e (diff) | |
download | linux-89a269285fe350346b794676c79119b31015292f.tar.xz |
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')
-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 @@ UTS_MACHINE := arc ifeq ($(CROSS_COMPILE),) +ifndef CONFIG_CPU_BIG_ENDIAN CROSS_COMPILE := arc-linux- +else +CROSS_COMPILE := arceb-linux- +endif endif KBUILD_DEFCONFIG := nsim_700_defconfig |