rtl8821cu: pass makeFlags from kernel, move moduleBuildDependencies to nativeBuildInputs

This commit is contained in:
Nick Cao 2022-02-10 10:55:00 +08:00
parent b046f22da2
commit 3f6359ac26
No known key found for this signature in database
GPG Key ID: 068A56CEF48FA2C1

View File

@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "pic" ];
nativeBuildInputs = [ bc ];
buildInputs = kernel.moduleBuildDependencies;
nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies;
makeFlags = kernel.makeFlags;
prePatch = ''
substituteInPlace ./Makefile \