[U-Boot] sandbox: Use system headers first for sandbox's os.c in a different way

Tom Rini trini at ti.com
Wed Jan 29 23:34:09 CET 2014


On Tue, Nov 26, 2013 at 04:13:59PM +0900, Masahiro wrote:

> Commit cbe5cdfcd changed config.mk and arch/sandbox/cpu/Makefile
> to use -idirafter instead of -I and remove -nostdinc.
> 
> But
>  * Sandbox-specific code dirties config.mk
>  * os.c is compiled without such compiler flags as:
>       -Wall -Wstrict-prototypes -Wno-format-security
>       -fno-builtin -ffreestanding -fno-stack-protector
>       -fstack-usage -Wno-format-nonliteral
> 
> This commit use -idirafter and remove the -nostdinc
> differently and more simply.
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Simon Glass <sjg at chromium.org>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140129/684a34d9/attachment.pgp>


More information about the U-Boot mailing list