diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2013-03-13 13:42:55 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-13 22:04:44 +0100 |
commit | ba949d32ba97d96422510967df33532dd39e47c0 (patch) | |
tree | 6be9a928830b3bc2e9801b967ef33adf0d391416 /payloads/libpayload/include/inttypes.h | |
parent | 2def2625e0b49ea3ae85ae8b821979e5901c6638 (diff) | |
download | coreboot-ba949d32ba97d96422510967df33532dd39e47c0.tar.xz |
libpayload: Start using only internal and compiler headers.
When building other payloads with lpgcc the -nostdinc flag was injected into
CFLAGS, but when building libpayload itself some headers were being used from
the host system. This change puts -nostdinc into the Makefile and xcompile
script, fixes up one include path in include/inttypes.h, adds the compiler
provided include directory to the include search path, and deletes the two now
redundant stdint.h files.
BUG=None
TEST=With this and other changes, built libpayload and depthcharge for Daisy,
Link, and Fox.
BRANCH=None
Change-Id: Ia7817fceab5297cd82ccc0d392330de0df61980e
Signed-off-by: Gabe Black <gabeblack@google.com>
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/2710
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/include/inttypes.h')
-rw-r--r-- | payloads/libpayload/include/inttypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/inttypes.h b/payloads/libpayload/include/inttypes.h index 922f08abe1..357dbf41c5 100644 --- a/payloads/libpayload/include/inttypes.h +++ b/payloads/libpayload/include/inttypes.h @@ -19,7 +19,7 @@ #ifndef _INTTYPES_H_ #define _INTTYPES_H_ -#include <sys/stdint.h> +#include <stdint.h> #ifdef __cplusplus #define __wchar_t wchar_t |