mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
nix/artiq-board: build tester variant
This commit is contained in:
parent
e424927049
commit
13c4d935a2
@ -43,13 +43,13 @@ in pkgs.stdenv.mkDerivation {
|
||||
phases = [ "buildPhase" "installPhase" ];
|
||||
buildPhase =
|
||||
''
|
||||
${buildenv}/bin/artiq-dev -c "CARGO_HOME=${cargoVendored} python -m artiq.gateware.targets.kasli -V satellite --no-compile-gateware"
|
||||
${buildenv}/bin/artiq-dev -c "CARGO_HOME=${cargoVendored} python -m artiq.gateware.targets.kasli -V tester --no-compile-gateware"
|
||||
'';
|
||||
installPhase =
|
||||
''
|
||||
mkdir $out
|
||||
#cp artiq_kasli/satellite/gateware/top.bit $out
|
||||
cp artiq_kasli/satellite/software/bootloader/bootloader.bin $out
|
||||
cp artiq_kasli/satellite/software/satman/satman.{elf,fbi} $out
|
||||
#cp artiq_kasli/tester/gateware/top.bit $out
|
||||
cp artiq_kasli/tester/software/bootloader/bootloader.bin $out
|
||||
cp artiq_kasli/tester/software/runtime/runtime.{elf,fbi} $out
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user