Allow to customize OUTDIR in config.sh

Useful for custom build trees.
This commit is contained in:
Yuri D'Elia 2021-04-23 12:15:48 +02:00
parent 403b340f19
commit a9f0ff441d

View File

@ -17,7 +17,9 @@ export OBJCOPY=$ARDUINO/hardware/tools/avr/bin/avr-objcopy
export OBJDUMP=$ARDUINO/hardware/tools/avr/bin/avr-objdump
#
# Output folder:
if [ -z "$OUTDIR" ]; then
export OUTDIR="../../Prusa-Firmware-build"
fi
#
# Objects folder:
export OBJDIR="$OUTDIR/sketch"