projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a41b6d
)
ARC: [BE] Select correct CROSS_COMPILE prefix
author
Vineet Gupta
<vgupta@synopsys.com>
Fri, 11 Mar 2016 07:17:58 +0000
(12:47 +0530)
committer
Vineet Gupta
<vgupta@synopsys.com>
Fri, 11 Mar 2016 09:29:54 +0000
(14:59 +0530)
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>
arch/arc/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/arc/Makefile
b/arch/arc/Makefile
index c8230f3395f281f9c11ee6de130137d84e1bb543..babc09c61c6c5726c79905960ad920dd53e31aa3 100644
(file)
--- 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