u-boot/arch
Andreas Bießmann f8d2c65fd9 sandbox: fix compiling of cpu/os.c
U-boot itself generally builds with -nostdinc.  This is because the
bootloader needs to be completely standalone.  In the sandbox arch
though, we need a little bit of code to glue the u-boot world to the
host operating system, and we need to be able to access the host
libc's headers in order to do so.

Currently, we're using -I/usr/include to workaround the global
-nostdinc, but that doesn't work for everyone and for all headers.
Instead, let's filter out -nostdinc when building the os.c code.

Without this patch, some distros hit errors such as:
---8<---
In file included from /usr/include/fcntl.h:27:0,
                 from os.c:22:
/usr/include/features.h:323:26: fatal error:
     bits/predefs.h: No such file or directory
--->8---

Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-12-10 17:56:37 -05:00
..
arm arm, davinci: Use lldiv for the 64-bit divisions in timer.c 2011-12-10 23:14:01 +01:00
avr32 avr32: Use getenv_ulong() in place of getenv(), strtoul 2011-10-23 23:33:17 +02:00
blackfin Blackfin: cache result of cpp check 2011-11-18 22:13:26 -05:00
m68k m68k: fix ambiguous bit testing 2011-12-05 21:55:25 +01:00
microblaze microblaze: Fix strict-aliasing rules for in_be32 2011-10-24 07:57:03 +02:00
mips arch/mips/lib/board.c: Fix GCC 4.6 build warning 2011-12-08 21:01:15 +01:00
nds32 nds32/ag101: clean up for SoC related code 2011-11-23 14:05:51 +08:00
nios2 nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet(). 2011-10-30 21:02:43 +08:00
powerpc powerpc: Minimal private libgcc to build on Debian 2011-12-07 23:04:32 +01:00
sandbox sandbox: fix compiling of cpu/os.c 2011-12-10 17:56:37 -05:00
sh sh: Add support Renesas SH7724 2011-12-02 13:46:21 +09:00
sparc sparc: fix unused variable warnings 2011-12-05 21:55:24 +01:00
x86 x86: Wrap small helper functions from libgcc to avoid an ABI mismatch 2011-11-29 21:31:24 +11:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00