xcompile: support being called from payloads/external/.../.../
Change-Id: Icc1361fdd3a8369c4b442ce5b8807c549519c93a Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/14387 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
479e31e090
commit
e0383d2ce8
|
@ -27,6 +27,12 @@ fi
|
|||
TMPFILE=""
|
||||
XGCCPATH=$1
|
||||
|
||||
# payloads under payloads/external crossgcc path
|
||||
if [ -d "$(pwd)/../../../../util/crossgcc/xgcc/bin/" ]
|
||||
then
|
||||
XGCCPATH=${XGCCPATH:-"$(pwd)/../../../../util/crossgcc/xgcc/bin/"}
|
||||
fi
|
||||
|
||||
# libpayload crossgcc path
|
||||
if [ -d "$(pwd)/../../util/crossgcc/xgcc/bin/" ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue