riscv-pk: Add a variant with a kernel

This commit is contained in:
Shea Levy 2018-02-19 12:37:46 -05:00
parent 6173f2f945
commit fd2f2bbe6f
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook }: let
{ stdenv, fetchFromGitHub, autoreconfHook, payload ? null }: let
rev = "e5846a2bc707eaa58dc8ab6a8d20a090c6ee8570";
sha256 = "1clynpp70fnbgsjgxx7xi0vrdrj1v0h8zpv0x26i324kp2gwylf4";
revCount = "438";
@ -21,6 +21,9 @@ in stdenv.mkDerivation {
configureScript = "../configure";
configureFlags = stdenv.lib.optional (payload != null)
"--with-payload=${payload}";
hardeningDisable = [ "all" ];
meta = {

View File

@ -13565,6 +13565,10 @@ with pkgs;
riscv-pk = callPackage ../misc/riscv-pk { };
riscv-pk-with-kernel = riscv-pk.override {
payload = "${linux_riscv}/vmlinux";
};
rtkit = callPackage ../os-specific/linux/rtkit { };
rt5677-firmware = callPackage ../os-specific/linux/firmware/rt5677 { };