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