From efbe915b2417e6975f0f9c8f6325e7a5ebd6376d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 3 Apr 2018 19:36:40 +0800 Subject: [PATCH] conda: support satellite in board package --- conda/artiq-board/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conda/artiq-board/build.sh b/conda/artiq-board/build.sh index 44c067c00..bac341b51 100644 --- a/conda/artiq-board/build.sh +++ b/conda/artiq-board/build.sh @@ -8,4 +8,7 @@ mkdir -p ${SOC_PREFIX} V=1 $PYTHON -m artiq.gateware.targets.${ARTIQ_TARGET} -V ${ARTIQ_VARIANT} cp artiq_${ARTIQ_TARGET}/${ARTIQ_VARIANT}/gateware/top.bit ${SOC_PREFIX} cp artiq_${ARTIQ_TARGET}/${ARTIQ_VARIANT}/software/bootloader/bootloader.bin ${SOC_PREFIX} -cp artiq_${ARTIQ_TARGET}/${ARTIQ_VARIANT}/software/runtime/runtime.{elf,fbi} ${SOC_PREFIX} +if [ -e artiq_${ARTIQ_TARGET}/${ARTIQ_VARIANT}/software/runtime ] +then cp artiq_${ARTIQ_TARGET}/${ARTIQ_VARIANT}/software/runtime/runtime.{elf,fbi} ${SOC_PREFIX} +else cp artiq_${ARTIQ_TARGET}/${ARTIQ_VARIANT}/software/satman/satman.{elf,fbi} ${SOC_PREFIX} +fi