xpadneo: prepend kernel.makeFlags to makeFlags

This commit is contained in:
Nick Cao 2022-02-10 10:38:29 +08:00
parent 03d4ac4e5b
commit 86ec7c438c
No known key found for this signature in database
GPG Key ID: 068A56CEF48FA2C1

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = kernel.moduleBuildDependencies;
buildInputs = [ bluez ];
makeFlags = [
makeFlags = kernel.makeFlags ++ [
"-C"
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"M=$(sourceRoot)"