1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-26 03:29:44 +01:00

add hydra jobset to build kernel for raspberry pi 5

This commit is contained in:
DavHau 2024-12-16 11:27:23 +07:00
parent cf737e2eba
commit 3a0fabdeeb
3 changed files with 23 additions and 4 deletions

View file

@ -1,9 +1,6 @@
{ lib, pkgs, config, ... }: { lib, pkgs, config, ... }:
let let
linux_rpi5 = pkgs.linux_rpi4.override { inherit (import ./packages.nix {inherit lib pkgs;}) linux_rpi5;
rpiVersion = 5;
argsOverride.defconfig = "bcm2712_defconfig";
};
in in
{ {
boot = { boot = {

View file

@ -0,0 +1,7 @@
{ lib, pkgs, }:
{
linux_rpi5 = pkgs.linux_rpi4.override {
rpiVersion = 5;
argsOverride.defconfig = "bcm2712_defconfig";
};
}

15
release.nix Normal file
View 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;
}