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;
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
||||||
KERNEL_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
makeFlags = kernel.makeFlags ++ [
|
||||||
INSTALL_MOD_PATH = "\${out}";
|
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
prefix = "\${out}";
|
"INSTALL_MOD_PATH=$(out)"
|
||||||
|
"prefix=$(out)"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Device that allows access to Linux kernel cryptographic drivers";
|
description = "Device that allows access to Linux kernel cryptographic drivers";
|
||||||
|
|
Loading…
Reference in a new issue