|
@ -2,7 +2,7 @@ name=broadcom-wl |
|
|
version=6_30_223_271 |
|
|
version=6_30_223_271 |
|
|
update_url="https://aur.archlinux.org/packages/$name-dkms/" |
|
|
update_url="https://aur.archlinux.org/packages/$name-dkms/" |
|
|
|
|
|
|
|
|
define_option "kver=$(uname -r): The kernel version we're building for." |
|
|
define_option "kver=$(uname -r): The kernel version we're building for" |
|
|
|
|
|
|
|
|
dlextract "http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-$version.tar.gz" \ |
|
|
dlextract "http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-$version.tar.gz" \ |
|
|
'115903050c41d466161784d4c843f4f9' |
|
|
'115903050c41d466161784d4c843f4f9' |
|
@ -23,7 +23,7 @@ patch -p1 -i 001-null-pointer-fix.patch |
|
|
patch -p1 -i 002-rdtscl.patch |
|
|
patch -p1 -i 002-rdtscl.patch |
|
|
patch -p1 -i 003-linux47.patch |
|
|
patch -p1 -i 003-linux47.patch |
|
|
make KBUILD_DIR="$dir_sysroot/lib/modules/$kver/build" |
|
|
make KBUILD_DIR="$dir_sysroot/lib/modules/$kver/build" |
|
|
install -Dm 644 "wl.ko" "$dir_install/lib/modules/$kver/kernel/drivers/net/wireless/wl.ko" |
|
|
install -Dm644 -t "$dir_install/lib/modules/$kver/kernel/drivers/net/wireless" wl.ko |
|
|
install -Dm 644 "$name-dkms.conf" "$dir_install/etc/modprobe.d/$name.conf" |
|
|
install -Dm644 "$name-dkms.conf" "$dir_install/$dir_sysconfdir/modprobe.d/$name.conf" |
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
|
|