]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sandbox: Use system headers first for sandbox's os.c
authorSimon Glass <sjg@chromium.org>
Sun, 10 Nov 2013 17:26:48 +0000 (10:26 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Nov 2013 23:54:26 +0000 (16:54 -0700)
commitcbe5cdfcd31633edce4ee78ebc008b922de571e3
tree512cb10b7343a227000cf66cf2d0b8b811c5cb96
parent2a54d1599f4c3a95b1d39db45888b49c36465af3
sandbox: Use system headers first for sandbox's os.c

This file must be compiled with system headers, even if U-Boot has headers
of the same name. The existing solution for this is good enough for libfdt,
but fails when we have headers like stdint.h in U-Boot.

Use -idirafter instead of -I, and remove the -nostdinc and other things
that we don't want for this file. The best way to do this is to keep a
copy of the original flags, rather than trying to filter them later.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/Makefile
config.mk