forked from M-Labs/nix-scripts
support satellite variants in artiq-board
This commit is contained in:
parent
c101a8c8c1
commit
a02af3e857
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue