diff options
author | davidovski <david@davidovski.xyz> | 2022-04-17 22:07:52 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-17 22:07:52 +0100 |
commit | c35d083dc525e223b085ec00e6863ea6eafb003c (patch) | |
tree | 5bbe25b4f92cd1821c8cbbefed9c19de6e42b98e /repo/skip/broadcom-wl.xibuild | |
parent | 7cc715c1249422ddf91987be64a35eef43e3e62d (diff) |
updated musl
Diffstat (limited to 'repo/skip/broadcom-wl.xibuild')
-rw-r--r-- | repo/skip/broadcom-wl.xibuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/repo/skip/broadcom-wl.xibuild b/repo/skip/broadcom-wl.xibuild new file mode 100644 index 0000000..948c9bd --- /dev/null +++ b/repo/skip/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 +} |