From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Tue, 25 Sep 2007 00:44:07 +0900 Subject: [U-Boot-Users] [MIPS] Fix toolchain restriction for little endian build Message-ID: <46F7DB47.8030706@ruby.dti.ne.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fix ENDIANNESS condition to allow gcc toolchains other than ELDK. Signed-off-by: Shinya Kuribayashi --- cpu/mips/config.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/mips/config.mk b/cpu/mips/config.mk index b29986e..1a4e800 100644 --- a/cpu/mips/config.mk +++ b/cpu/mips/config.mk @@ -29,7 +29,7 @@ else \ echo "-march=4kc -mtune=4kc"; \ fi) -ifneq (,$(findstring 4KCle,$(CROSS_COMPILE))) +ifneq (,$(shell $(CC) -dumpmachine |grep 'mips.*el-.*')) ENDIANNESS = -EL else ENDIANNESS = -EB