From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [MIPS] Fix toolchain restriction for little endian build
Date: Tue, 25 Sep 2007 00:44:07 +0900 [thread overview]
Message-ID: <46F7DB47.8030706@ruby.dti.ne.jp> (raw)
Fix ENDIANNESS condition to allow gcc toolchains other than ELDK.
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
---
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
next reply other threads:[~2007-09-24 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 15:44 Shinya Kuribayashi [this message]
2007-09-24 20:44 ` [U-Boot-Users] [MIPS] Fix toolchain restriction for little endian build Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F7DB47.8030706@ruby.dti.ne.jp \
--to=skuribay@ruby.dti.ne.jp \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox