diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2013-02-21 14:33:25 +0100 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-06-25 16:17:41 +0200 |
commit | cb76136420c73eb4f3122137b441835eee147c61 (patch) | |
tree | 8a63fe31fc7718d6d02235e2466edd9395eafced /payloads/libpayload/bin/lp.functions | |
parent | 8b9d4f3296ce5b6804963bfcc56cd741bb66e7ab (diff) | |
download | coreboot-cb76136420c73eb4f3122137b441835eee147c61.tar.xz |
libpayload: Make lpgcc wrapper usable for in-tree builds
Teach lpgcc to look in the in-coreboot tree directory structure, too.
Change-Id: I3809456d072ce2f91542b0edb3fd39f536298cc2
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/3530
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload/bin/lp.functions')
-rw-r--r-- | payloads/libpayload/bin/lp.functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/payloads/libpayload/bin/lp.functions b/payloads/libpayload/bin/lp.functions index 21b6e918b8..31f005d355 100644 --- a/payloads/libpayload/bin/lp.functions +++ b/payloads/libpayload/bin/lp.functions @@ -49,11 +49,13 @@ fi if [ -f $BASE/../lib/libpayload.a ]; then _LIBDIR=$BASE/../lib +elif [ -f $BASE/../build/libpayload.a ]; then + _LIBDIR=$BASE/../build else _LIBDIR=$LIBPAYLOAD_PREFIX/lib fi -if [ -d $BASE/../include/ ]; then +if [ -d $BASE/../include ]; then _INCDIR=$BASE/../include else _INCDIR=$LIBPAYLOAD_PREFIX/include |