forked from mirrors/nixpkgs
Upgraded broadcom-sta driver to version 5_100_82_112
svn path=/nixpkgs/trunk/; revision=32012
This commit is contained in:
parent
37346e00a3
commit
133e2db3de
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, kernel }:
|
||||
|
||||
let version = "5_100_82_38";
|
||||
let version = "5_100_82_112";
|
||||
bits = if stdenv.system == "i686-linux" then "32" else
|
||||
assert stdenv.system == "x86_64-linux"; "64";
|
||||
in
|
||||
|
@ -10,15 +10,15 @@ stdenv.mkDerivation {
|
|||
src = fetchurl {
|
||||
url = "http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_${bits}-v${version}.tar.gz";
|
||||
sha256 = if bits == "32"
|
||||
then "0dzvnk0vmi5dlbsi9k2agvs5xsqn07mv66g9v1jzn1gsl8fsydpp"
|
||||
else "19rm9m949yqahgii7wr14lj451sd84s72mqj15yd0dnpm4k5n5hw";
|
||||
then "1rvhw9ngw0djxyyjx5m01c0js89zs3xiwmra03al6f9q7cbf7d45"
|
||||
else "1qsarnry10f5m8a73wbr9cg2ifs00sqg6x0ay59l72vl9hb2zlww";
|
||||
};
|
||||
|
||||
buildInputs = [ kernel ];
|
||||
patches = [ ./makefile.patch ]
|
||||
++ stdenv.lib.optional
|
||||
(! builtins.lessThan (builtins.compareVersions kernel.version "2.6.37") 0)
|
||||
[ ./mutex-sema.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.modDirVersion}/build";
|
||||
|
||||
|
|
Loading…
Reference in a new issue