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)"