Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4689
-gerrit
commit 98bf471de2c668abf7a4a5f3ae574c01f6d625af Author: Vladimir Serbinenko phcoder@gmail.com Date: Wed Jan 15 22:04:12 2014 +0100
libpayload/lpgcc: Add curses include path.
Without it payloads that need curses fail to build.
Change-Id: I4533238b547e4c2d9e0778fb7d314db35a9559df Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- 3rdparty | 2 +- payloads/libpayload/bin/lpgcc | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/3rdparty b/3rdparty index 324ec3c..cb15d36 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit 324ec3cb642a278d6d97ae809bc6098045bc6e65 +Subproject commit cb15d36733b8e92c5f2075ee39bf7401241e8245 diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc index 43eb016..4eca091 100755 --- a/payloads/libpayload/bin/lpgcc +++ b/payloads/libpayload/bin/lpgcc @@ -135,6 +135,14 @@ done
_CFLAGS="$_ARCHEXTRA -nostdinc -nostdlib -I$BASE/../build -I$_INCDIR -I$_ARCHINCDIR -D__LIBPAYLOAD__=1"
+if [ "$CONFIG_PDCURSES" = y ]; then + _CFLAGS="$_CFLAGS -I$BASE/../curses/PDCurses-3.4" +fi + +if [ "$CONFIG_TINYCURSES" = y ]; then + _CFLAGS="$_CFLAGS -I$BASE/../curses" +fi + # Check for the -fno-stack-protector silliness
trygccoption -fno-stack-protector