eive-obsw/cmake/scripts/egse/egse_path_helper_win.sh

13 lines
357 B
Bash
Raw Normal View History

2022-02-05 13:19:20 +01:00
#!/bin/sh
# Script to set path to raspberry pi toolchain
# Run script with: source egse_path_helper_win.sh
TOOLCHAIN_PATH="/c/SysGCC/raspberry/bin"
if [ $# -eq 1 ];then
export PATH=$PATH:"$1"
else
echo "Path of toolchain set to $TOOLCHAIN_PATH"
export PATH=$PATH:$TOOLCHAIN_PATH
fi
export CROSS_COMPILE="arm-linux-gnueabihf"
export RASPBERRY_VERSION="4"