ena: pass makeFlags from kernel
This commit is contained in:
parent
694eef94d7
commit
07d1ce68d4
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
|||
hardeningDisable = [ "pic" ];
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
makeFlags = kernel.makeFlags;
|
||||
|
||||
# linux 3.12
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
|
@ -27,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
strip -S ena.ko
|
||||
$STRIP -S ena.ko
|
||||
dest=$out/lib/modules/${kernel.modDirVersion}/misc
|
||||
mkdir -p $dest
|
||||
cp ena.ko $dest/
|
||||
|
|
Loading…
Reference in a new issue