forked from mirrors/nixpkgs
Merge pull request #211719 from NickCao/cryptodev
linuxPackages.cryptodev: cleanup and fix cross compilation
This commit is contained in:
commit
d0637f07e4
|
@ -14,9 +14,11 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
KERNEL_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||
INSTALL_MOD_PATH = "\${out}";
|
||||
prefix = "\${out}";
|
||||
makeFlags = kernel.makeFlags ++ [
|
||||
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
"INSTALL_MOD_PATH=$(out)"
|
||||
"prefix=$(out)"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Device that allows access to Linux kernel cryptographic drivers";
|
||||
|
|
Loading…
Reference in a new issue