rtl88x2bu: pass makeFlags from kernel
This commit is contained in:
parent
86ec7c438c
commit
271699dcc5
1 changed files with 3 additions and 3 deletions
|
@ -13,10 +13,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ bc ];
|
nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies;
|
||||||
buildInputs = kernel.moduleBuildDependencies;
|
makeFlags = kernel.makeFlags;
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace ./Makefile \
|
substituteInPlace ./Makefile \
|
||||||
--replace /lib/modules/ "${kernel.dev}/lib/modules/" \
|
--replace /lib/modules/ "${kernel.dev}/lib/modules/" \
|
||||||
--replace '$(shell uname -r)' "${kernel.modDirVersion}" \
|
--replace '$(shell uname -r)' "${kernel.modDirVersion}" \
|
||||||
|
|
Loading…
Reference in a new issue