Merge pull request #137322 from lovesegfault/bbswitch-makeflags

linuxPackages.bbswitch: use kernel's make flags
This commit is contained in:
Bernardo Meurer 2021-09-11 04:02:11 +00:00 committed by GitHub
commit 37c315fa2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,6 +36,8 @@ stdenv.mkDerivation {
--replace "/lib/modules" "${kernel.dev}/lib/modules"
'';
makeFlags = kernel.makeFlags;
installPhase = ''
mkdir -p $out/lib/modules/${kernel.modDirVersion}/misc
cp bbswitch.ko $out/lib/modules/${kernel.modDirVersion}/misc