mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #19577 from grahamc/broadcom-sta-4.8
broadcom-sta: Support linux-4.8
This commit is contained in:
commit
25ea97585f
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user