Merge pull request #19577 from grahamc/broadcom-sta-4.8

broadcom-sta: Support linux-4.8
This commit is contained in:
Graham Christensen 2016-10-16 08:31:27 -04:00 committed by GitHub
commit 25ea97585f

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, kernel }:
{ stdenv, fetchurl, fetchpatch, kernel }:
let
version = "6.30.223.271";
@ -16,7 +16,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://www.broadcom.com/docs/linux_sta/${tarball}";
sha256 = hashes.${stdenv.system};
sha256 = hashes."${stdenv.system}";
};
hardeningDisable = [ "pic" ];
@ -27,6 +27,11 @@ stdenv.mkDerivation {
./linux-4.7.patch
./null-pointer-fix.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}";