forked from mirrors/nixpkgs
veikk-linux-driver: prepend kernel.makeFlags to makeFlags
This commit is contained in:
parent
e2c5168db4
commit
d3943a84af
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue