diff options
author | davidovski <david@davidovski.xyz> | 2022-04-14 22:28:41 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-14 22:28:41 +0100 |
commit | 7cc715c1249422ddf91987be64a35eef43e3e62d (patch) | |
tree | fd706e77c0eaec256acf3dc24e781b5fc9f59d09 /repo/linux/broadcom-wl.xibuild | |
parent | 734e13526a2ec3ced7f085e444fc9525dfad348b (diff) |
added auto create file
Diffstat (limited to 'repo/linux/broadcom-wl.xibuild')
-rw-r--r-- | repo/linux/broadcom-wl.xibuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/repo/linux/broadcom-wl.xibuild b/repo/linux/broadcom-wl.xibuild new file mode 100644 index 0000000..948c9bd --- /dev/null +++ b/repo/linux/broadcom-wl.xibuild @@ -0,0 +1,43 @@ +#!/bin/sh + +MAKEDEPS="linux-src linux-headers" +DEPS="linux" + +PKG_VER=6.30.223.271 +SOURCE=https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-$(echo $PKG_VER | sed "s,\.,_,g").tar.gz + +DESC="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" +ADDITIONAL=" + 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 + 009-fix_mac_profile_discrepancy.patch + 010-linux56.patch + 011-linux59.patch + 012-linux517.patch +" + +prepare () { + apply_patches + sed -i -e '/BRCM_WLAN_IFNAME/s/eth/wlan/' src/wl/sys/wl_linux.c + sed -i -e "/EXTRA_LDFLAGS/s|\$(src)/lib|/usr/lib/broadcom-wl|" Makefile + sed -i '/GE_49 :=/s|:= .*|:= 1|' Makefile +} + +build () { + KVER=$(cat /usr/src/linux/version) + #KBASE=/lib/modules/$KVER + make -C /usr/src/linux timeconst-file + make -C /usr/src/linux M=$PWD +} + + +package () { + ls + read wait +} |