13 lines
357 B
Bash
13 lines
357 B
Bash
|
#!/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"
|