From: Paolo Broggini <pbroggini@softool.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH]Fix cc-option macro in config.mk
Date: Wed, 12 Oct 2005 15:21:30 +0200 [thread overview]
Message-ID: <434D0DDA.4070507@softool.ch> (raw)
The following patch fix the compilation problem discussed in thread
"Problem building U-Boot for ARM target"
Best regards
-P.Broggini
Signed-off-by: Paolo Broggini <pbroggini@softool.ch>
CHANGELOG:
Fix cc-option macro in config.mk, $(CFLAGS) dropped.
Patch by Paolo Broggini, 12 Oct 2005
diff --git a/config.mk b/config.mk
--- a/config.mk
+++ b/config.mk
@@ -90,7 +90,7 @@ HOSTSTRIP = strip
# Option checker (courtesy linux kernel) to ensure
# only supported compiler options are used
#
-cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
+cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
> /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
#
next reply other threads:[~2005-10-12 13:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-12 13:21 Paolo Broggini [this message]
2005-11-30 17:06 ` [U-Boot-Users] [PATCH]Fix cc-option macro in config.mk Cory T. Tusar
2005-12-21 13:32 ` Marco Cavallini
2005-12-21 15:17 ` Paolo Broggini
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=434D0DDA.4070507@softool.ch \
--to=pbroggini@softool.ch \
--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