mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-12-14 21:11:12 +01:00
chore: format repo using treefmt-nix and nixfmt-rfc-style
This commit is contained in:
parent
fc7c471412
commit
51e51e6014
266 changed files with 3721 additions and 2733 deletions
|
|
@ -1,9 +1,12 @@
|
|||
{
|
||||
pkgs, targetBoard, ...
|
||||
pkgs,
|
||||
targetBoard,
|
||||
...
|
||||
}:
|
||||
|
||||
with pkgs; let
|
||||
payload-generator = pkgs.callPackage ./hss-payload-generator.nix {};
|
||||
with pkgs;
|
||||
let
|
||||
payload-generator = pkgs.callPackage ./hss-payload-generator.nix { };
|
||||
payload_config = ./uboot.yaml;
|
||||
in
|
||||
buildUBoot rec {
|
||||
|
|
@ -19,7 +22,7 @@ buildUBoot rec {
|
|||
};
|
||||
|
||||
extraMakeFlags = [
|
||||
"OPENSBI=${opensbi}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin"
|
||||
"OPENSBI=${opensbi}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin"
|
||||
];
|
||||
|
||||
patches = [
|
||||
|
|
@ -27,9 +30,9 @@ buildUBoot rec {
|
|||
];
|
||||
defconfig = "${targetBoard}_defconfig";
|
||||
enableParallelBuilding = true;
|
||||
extraMeta.platforms = ["riscv64-linux"];
|
||||
extraMeta.platforms = [ "riscv64-linux" ];
|
||||
postBuild = ''
|
||||
${payload-generator}/hss-payload-generator -c ${payload_config} payload.bin
|
||||
'';
|
||||
${payload-generator}/hss-payload-generator -c ${payload_config} payload.bin
|
||||
'';
|
||||
filesToInstall = [ "payload.bin" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue