summaryrefslogtreecommitdiffstats
path: root/board/a4m072/Makefile
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2011-12-02 11:53:13 +0100
committerMike Frysinger <vapier@gentoo.org>2011-12-10 17:56:37 -0500
commitf8d2c65fd980b3c031043c4605b48a383558976b (patch)
tree05c19c522d499bb11c2c4da018396fa290a50485 /board/a4m072/Makefile
parentd99a6874f5397955e1d6cb3098ab274d0836109f (diff)
downloadtalos-obmc-uboot-f8d2c65fd980b3c031043c4605b48a383558976b.tar.gz
talos-obmc-uboot-f8d2c65fd980b3c031043c4605b48a383558976b.zip
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>
Diffstat (limited to 'board/a4m072/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud