Skip to contentSkip to conversation

Fix cc-option macro in confi [...]

PATCH New DENX Support System 1 participant 1 message Mar 31, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix cc-option macro in confi [...]

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2006033142000794] was created:

<snip>

Quoted 50 lines
Quoted 28 lines

The following patch fix the compilation problem discussed in thread "Problem building U-Boot for ARM target"

Best regards
-P.Broggini

CHANGELOG:
Fix cc-option macro in config.mk, $(CFLAGS) dropped. Patch by Paolo Broggini, 12 Oct 2005

config.mk +1 -1
@@ -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 ;)
 
Quoted 2 lines

#

Hello all,
I have the same error

Quoted 1 line
Quoted 1 line

cc1: invalid option 'abi=apcs-gnu'

with Freescale MC9328MX1 and some other ARM boards and I wonder why this patch has not been applied in 1.1.4.
Is it correct to use it ?
Should I expect to see it in next 1.1.5 ?

Thanks

Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
www.koansoftware.com | www.klinux.org

Quoted 10 lines

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

</snip>

Your U-Boot support team