artiq_flash: dont prepend the runtime file with mezzanine board directory if using -d

This commit is contained in:
Yann Sionneau 2015-08-27 11:02:06 +02:00
parent 90ce54d8d5
commit 7db0498a9a

View File

@ -123,9 +123,13 @@ then
PROXY=bscan_spi_kc705.bit
BIOS_ADDR=0xaf0000
RUNTIME_ADDR=0xb00000
RUNTIME_FILE=${MEZZANINE_BOARD}/runtime.fbi
RUNTIME_FILE=runtime.fbi
FS_ADDR=0xb40000
if [ -z "$BIN_PREFIX" ]; then BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705; fi
if [ -z "$BIN_PREFIX" ]
then
RUNTIME_FILE=${MEZZANINE_BOARD}/runtime.fbi
BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705
fi
search_for_proxy $PROXY
elif [ "$BOARD" == "pipistrello" ]
then