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>
This commit is contained in:
committed by
Ronald G. Minnich
parent
8b9d4f3296
commit
cb76136420
@ -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
|
||||
|
Reference in New Issue
Block a user