Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1355763

[PATCH 1/2] ARC: [BE] Select correct CROSS_COMPILE prefix

From Vineet Gupta <Vineet.Gupta1@synopsys.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] ARC: [BE] Select correct CROSS_COMPILE prefix
Date 2016-03-11 10:30 +0100
Message-ID <rbryq-3Zo-23@gated-at.bofh.it> (permalink)
References <rbryp-3Zo-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 | 4 ++++
 1 file changed, 4 insertions(+)

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
-- 
2.5.0

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Big Endian build cleanups Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-03-11 10:30 +0100
  [PATCH 1/2] ARC: [BE] Select correct CROSS_COMPILE prefix Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-03-11 10:30 +0100
    Re: [PATCH 1/2] ARC: [BE] Select correct CROSS_COMPILE prefix Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2016-03-11 11:00 +0100

csiph-web