public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH]Fix cc-option macro in config.mk
@ 2005-10-12 13:21 Paolo Broggini
  2005-11-30 17:06 ` Cory T. Tusar
  2005-12-21 13:32 ` Marco Cavallini
  0 siblings, 2 replies; 4+ messages in thread
From: Paolo Broggini @ 2005-10-12 13:21 UTC (permalink / raw)
  To: u-boot

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 ;)

  #

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-21 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-12 13:21 [U-Boot-Users] [PATCH]Fix cc-option macro in config.mk Paolo Broggini
2005-11-30 17:06 ` Cory T. Tusar
2005-12-21 13:32 ` Marco Cavallini
2005-12-21 15:17   ` Paolo Broggini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox