Patchwork [U-Boot,2/2,for,2010.12] sh: Add ENDIANNESS to config.mk of sh2

login
register
mail settings
Submitter Nobuhiro Iwamatsu
Date Dec. 25, 2010, 11:02 p.m.
Message ID <1293318147-15653-2-git-send-email-iwamatsu@nigauri.org>
Download mbox | patch
Permalink /patch/76708/
State Changes Requested
Headers show

Comments

Nobuhiro Iwamatsu - Dec. 25, 2010, 11:02 p.m.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 arch/sh/cpu/sh2/config.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk
index 52d5a0f..02ef981 100644
--- a/arch/sh/cpu/sh2/config.mk
+++ b/arch/sh/cpu/sh2/config.mk
@@ -21,6 +21,7 @@ 
 # MA 02111-1307 USA
 #
 #
+ENDIANNESS = -EB
 PLATFORM_CPPFLAGS += -m3e -mb
 PLATFORM_RELFLAGS += -ffixed-r13
-PLATFORM_LDFLAGS += -EB
+PLATFORM_LDFLAGS += $(ENDIANNESS)