mirror of https://github.com/m-labs/artiq.git
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" ];
|
phases = [ "buildPhase" "installPhase" ];
|
||||||
buildPhase =
|
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 =
|
installPhase =
|
||||||
''
|
''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
#cp artiq_kasli/satellite/gateware/top.bit $out
|
#cp artiq_kasli/tester/gateware/top.bit $out
|
||||||
cp artiq_kasli/satellite/software/bootloader/bootloader.bin $out
|
cp artiq_kasli/tester/software/bootloader/bootloader.bin $out
|
||||||
cp artiq_kasli/satellite/software/satman/satman.{elf,fbi} $out
|
cp artiq_kasli/tester/software/runtime/runtime.{elf,fbi} $out
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue