eive-obsw/scripts/q7s-env.sh
Robin Mueller fdf7f03242
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
moved build helpers to script folder
2022-05-03 12:35:03 +02:00

17 lines
615 B
Bash
Executable File

#!/bin/bash -i
export PATH=$PATH:"$HOME/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin"
export CROSS_COMPILE="arm-linux-gnueabihf"
export ZYNQ_7020_SYSROOT="/opt/xiphos/sdk/ark/sysroots/cortexa9hf-neon-xiphos-linux-gnueabi"
# export EIVE_Q7S_EM=1
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
export CONSOLE_PREFIX="[Q7S ENV]"
/bin/bash