2018-09-09 21:05:20 +02:00
|
|
|
|
# Tanım: Broadcom 802.11abgn hibrit ağ kartı sürücüleri
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.broadcom.com/support/802.11/linux_sta.php
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
2018-09-09 21:05:20 +02:00
|
|
|
|
# Gerekler: kernel
|
2018-07-20 09:44:31 +02:00
|
|
|
|
# Grup: sürücü
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=broadcom-wl
|
2018-09-09 21:05:20 +02:00
|
|
|
|
surum=6.30.223.271
|
2018-10-12 21:16:17 +02:00
|
|
|
|
devir=2
|
2018-10-12 21:33:18 +02:00
|
|
|
|
kaynak=(http://kaynaklar.milislinux.org/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
|
2018-09-09 21:05:20 +02:00
|
|
|
|
broadcom-wl.modprobe.d
|
|
|
|
|
001-null-pointer-fix.patch
|
|
|
|
|
002-rdtscl.patch
|
|
|
|
|
003-linux47.patch
|
|
|
|
|
004-linux48.patch
|
|
|
|
|
005-debian-fix-kernel-warnings.patch
|
|
|
|
|
006-linux411.patch
|
|
|
|
|
007-linux412.patch
|
|
|
|
|
008-linux415.patch)
|
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-12-22 23:19:06 +01:00
|
|
|
|
derle() {
|
2018-10-12 21:35:40 +02:00
|
|
|
|
KERNELRELEASE="`ls /lib/modules`"
|
2018-09-09 21:05:20 +02:00
|
|
|
|
patch -p1 -i 001-null-pointer-fix.patch
|
|
|
|
|
patch -p1 -i 002-rdtscl.patch
|
|
|
|
|
patch -p1 -i 003-linux47.patch
|
|
|
|
|
patch -p1 -i 004-linux48.patch
|
|
|
|
|
patch -p1 -i 005-debian-fix-kernel-warnings.patch
|
|
|
|
|
patch -p1 -i 006-linux411.patch
|
|
|
|
|
patch -p1 -i 007-linux412.patch
|
|
|
|
|
patch -p1 -i 008-linux415.patch
|
|
|
|
|
|
|
|
|
|
sed -e "/BRCM_WLAN_IFNAME/s:eth:wlan:" -i src/wl/sys/wl_linux.c
|
|
|
|
|
make
|
|
|
|
|
install -Dm644 wl.ko "$PKG/lib/modules/$KERNELRELEASE/extra/wl.ko"
|
|
|
|
|
gzip "$PKG/lib/modules/$KERNELRELEASE/extra/wl.ko"
|
|
|
|
|
install -Dm644 lib/LICENSE.txt $PKG/usr/share/licenses/$isim/LICENSE
|
|
|
|
|
install -Dm644 broadcom-wl.modprobe.d $PKG/etc/modprobe.d/broadcom-wl.conf
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|