linuxPackages.cryptodev: cleanup and fix cross compilation
This commit is contained in:
parent
513a26c7c7
commit
e37e146056
|
@ -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