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

Submitted by Nobuhiro Iwamatsu on Dec. 25, 2010, 11:02 p.m.

Details

Message ID 1293318147-15653-2-git-send-email-iwamatsu@nigauri.org
State Changes Requested
Headers show

Commit Message

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 hide | download patch | download mbox

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)