3
0
Fork 0
forked from mirrors/nixpkgs

veikk-linux-driver: prepend kernel.makeFlags to makeFlags

This commit is contained in:
Nick Cao 2022-02-10 10:44:46 +08:00
parent e2c5168db4
commit d3943a84af
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
buildInputs = [ kernel ];
buildPhase = ''
make BUILD_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build
'';
makeFlags = kernel.makeFlags ++ [
"BUILD_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];
installPhase = ''
mkdir -p $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/veikk