support satellite variants in artiq-board

This commit is contained in:
Sebastien Bourdeauducq 2019-02-19 22:14:10 +08:00
parent c101a8c8c1
commit a02af3e857
1 changed files with 4 additions and 1 deletions

View File

@ -56,6 +56,9 @@ in pkgs.python3Packages.buildPythonPackage rec {
mkdir -p $TARGET_DIR
cp artiq_${target}/${variant}/gateware/top.bit $TARGET_DIR
cp artiq_${target}/${variant}/software/bootloader/bootloader.bin $TARGET_DIR
cp artiq_${target}/${variant}/software/runtime/runtime.{elf,fbi} $TARGET_DIR
if [ -e artiq_${target}/${variant}/software/runtime ]
then cp artiq_${target}/${variant}/software/runtime/runtime.{elf,fbi} $TARGET_DIR
else cp artiq_${target}/${variant}/software/satman/satman.{elf,fbi} $TARGET_DIR
fi
'';
}