mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-25 02:59:45 +01:00
add hydra jobset to build kernel for raspberry pi 5
This commit is contained in:
parent
cf737e2eba
commit
3a0fabdeeb
3 changed files with 23 additions and 4 deletions
|
@ -1,9 +1,6 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
let
|
||||
linux_rpi5 = pkgs.linux_rpi4.override {
|
||||
rpiVersion = 5;
|
||||
argsOverride.defconfig = "bcm2712_defconfig";
|
||||
};
|
||||
inherit (import ./packages.nix {inherit lib pkgs;}) linux_rpi5;
|
||||
in
|
||||
{
|
||||
boot = {
|
||||
|
|
7
raspberry-pi/5/packages.nix
Normal file
7
raspberry-pi/5/packages.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ lib, pkgs, }:
|
||||
{
|
||||
linux_rpi5 = pkgs.linux_rpi4.override {
|
||||
rpiVersion = 5;
|
||||
argsOverride.defconfig = "bcm2712_defconfig";
|
||||
};
|
||||
}
|
15
release.nix
Normal file
15
release.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
let
|
||||
lib = import <nixpkgs/lib>;
|
||||
pkgsFor.aarch64-linux = import <nixpkgs> {
|
||||
system = "aarch64-linux";
|
||||
};
|
||||
in
|
||||
{
|
||||
linux_rpi5.aarch64-linux =
|
||||
(
|
||||
import ./raspberry-pi/5/packages.nix {
|
||||
inherit lib;
|
||||
pkgs = pkgsFor.aarch64-linux;
|
||||
}
|
||||
).linux_rpi5;
|
||||
}
|
Loading…
Reference in a new issue