broadcom-sta: Support linux-4.8
This commit is contained in:
parent
5e1c84e475
commit
37bc2c0bbf
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, kernel }:
|
{ stdenv, fetchurl, fetchpatch, kernel }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "6.30.223.271";
|
version = "6.30.223.271";
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.broadcom.com/docs/linux_sta/${tarball}";
|
url = "http://www.broadcom.com/docs/linux_sta/${tarball}";
|
||||||
sha256 = hashes.${stdenv.system};
|
sha256 = hashes."${stdenv.system}";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
@ -27,6 +27,11 @@ stdenv.mkDerivation {
|
||||||
./linux-4.7.patch
|
./linux-4.7.patch
|
||||||
./null-pointer-fix.patch
|
./null-pointer-fix.patch
|
||||||
./gcc.patch
|
./gcc.patch
|
||||||
|
(fetchpatch {
|
||||||
|
name = "linux-4.8.patch";
|
||||||
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/004-linux48.patch?h=broadcom-wl-dkms";
|
||||||
|
sha256 = "0s8apf6l3qm9kln451g4z0pr13f4jdgyval1vfl2abg0dqc5xfhs";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = "KBASE=${kernel.dev}/lib/modules/${kernel.modDirVersion}";
|
makeFlags = "KBASE=${kernel.dev}/lib/modules/${kernel.modDirVersion}";
|
||||||
|
|
Loading…
Reference in New Issue