Get broadcom-sta to work on kernels >= 2.6.37
Patch from http://forums.linuxmint.com/viewtopic.php?f=141&t=57056&start=20#p378103 svn path=/nixpkgs/trunk/; revision=26806
This commit is contained in:
@@ -15,7 +15,10 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs = [ kernel ];
|
||||
patches = [ ./makefile.patch ];
|
||||
patches = [ ./makefile.patch ]
|
||||
++ stdenv.lib.optional
|
||||
(! builtins.lessThan (builtins.compareVersions kernel.version "2.6.37") 0)
|
||||
[ ./mutex-sema.patch ];
|
||||
|
||||
makeFlags = "KDIR=${kernel}/lib/modules/${kernel.version}/build";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user