From mboxrd@z Thu Jan 1 00:00:00 1970 From: DENX Support System Date: Sat, 1 Apr 2006 00:20:30 +0200 Subject: [DNX#2006040142000697] [U-Boot-Users] [PATCH]Fix cc-option macro in confi [...] Message-ID: <1143843630.823287.243724716@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2006040142000697] was created: > > 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 > > > 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 ;) > > # > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users Your U-Boot support team