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>
This commit is contained in:
parent
2a41b6dc28
commit
89a269285f
@ -9,7 +9,11 @@
|
|||||||
UTS_MACHINE := arc
|
UTS_MACHINE := arc
|
||||||
|
|
||||||
ifeq ($(CROSS_COMPILE),)
|
ifeq ($(CROSS_COMPILE),)
|
||||||
|
ifndef CONFIG_CPU_BIG_ENDIAN
|
||||||
CROSS_COMPILE := arc-linux-
|
CROSS_COMPILE := arc-linux-
|
||||||
|
else
|
||||||
|
CROSS_COMPILE := arceb-linux-
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
KBUILD_DEFCONFIG := nsim_700_defconfig
|
KBUILD_DEFCONFIG := nsim_700_defconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user