diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2015-08-10 11:00:39 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-08-10 20:29:07 +0200 |
commit | f1b7afb4a4b5a7afedfef1f03e28a1298874f553 (patch) | |
tree | 88b191203f621eb033ee97d8ed1744945709c399 /payloads/libpayload/bin | |
parent | 15dd6c2fa3b0953248a6a22b1b4b68c27b4c9c63 (diff) | |
download | coreboot-f1b7afb4a4b5a7afedfef1f03e28a1298874f553.tar.gz |
libpayload: Kconfig include in lpgcc
Payloads will include headers from libpayload, which depend on kconfig.h, so it
has to be included in the command line produced by lpgcc.
Change-Id: I3b55928babba2896a112f8c5fae46365cf71d308
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-on: http://review.coreboot.org/11114
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'payloads/libpayload/bin')
-rwxr-xr-x | payloads/libpayload/bin/lpgcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc index 93466395e8..17d8edaf03 100755 --- a/payloads/libpayload/bin/lpgcc +++ b/payloads/libpayload/bin/lpgcc @@ -159,7 +159,7 @@ fi trygccoption -fno-stack-protector [ $? -eq 0 ] && _CFLAGS="$_CFLAGS -fno-stack-protector" -_CFLAGS="$_CFLAGS -I`$DEFAULT_CC $_ARCHEXTRA -print-search-dirs | head -n 1 | cut -d' ' -f2`include" +_CFLAGS="$_CFLAGS -include $BASE/../include/kconfig.h -I`$DEFAULT_CC $_ARCHEXTRA -print-search-dirs | head -n 1 | cut -d' ' -f2`include" _LDFLAGS="-L$BASE/../lib -L$_LIBDIR $_LDSCRIPT -static" |