updated win helper scripts
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
2022-05-03 12:55:05 +02:00
parent 8b4d56cc0d
commit 5a52155065
2 changed files with 67 additions and 1 deletions

View File

@ -6,7 +6,7 @@ function help () {
TOOLCHAIN_PATH="/c/Xilinx/Vitis/2019.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/bin"
SYSROOT="/c/Users/${USER}/eive-software/eive-compile-rootfs"
EIVE_Q7S_EM=1
# export EIVE_Q7S_EM=1
for i in "$@"; do
case $i in
@ -48,3 +48,11 @@ else
echo "Sysroot path $SYSROOT does not exist"
return
fi
if [ -d "eive-obsw" ]; then
echo "Detected EIVE OBSW root directory at $(pwd)/eive-obsw. Setting to EIVE_OBSW_ROOT"
export EIVE_OBSW_ROOT="$(pwd)/eive-obsw"
echo "Adding $(pwd)/eive-obsw/cmake/scripts/q7s helper script path to PATH"
export PATH=$PATH:"$(pwd)/eive-obsw/cmake/scripts/q7s"
cd "eive-obsw"
fi