summaryrefslogtreecommitdiff
path: root/include/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/init.sh')
-rw-r--r--include/init.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/init.sh b/include/init.sh
index bc5a62b6..2202e156 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -90,11 +90,15 @@ xbmk_set_env()
xbtmp="$TMPDIR"
export XBMK_CACHE="$xbmkpwd/cache"
+
[ -L "$XBMK_CACHE" ] && [ "$XBMK_CACHE" = "$xbmkpwd/cache" ] && \
err "cachedir '$xbmkpwd/cache' is a symlink"
[ ! -e "$XBMK_CACHE" ] || \
[ -d "$XBMK_CACHE" ] || err "cachedir '$XBMK_CACHE' is a file"; :
+ cbfstool="$XBMK_CACHE/elf/coreboot/default/cbfstool"
+ rmodtool="$XBMK_CACHE/elf/coreboot/default/rmodtool"
+
export PATH="$XBMK_CACHE/xbmkpath:$XBMK_CACHE/gnupath:$PATH"
xbmkpath="$PATH"