mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 22:14:41 +08:00
fix broadcom-wl-lts
This commit is contained in:
parent
5c1b9f4f9d
commit
7869fd9f95
@ -30,13 +30,14 @@ prepare() {
|
||||
patch -p1 -i 002-rdtscl.patch
|
||||
patch -p1 -i 005-debian-fix-kernel-warnings.patch
|
||||
|
||||
|
||||
sed -e "/BRCM_WLAN_IFNAME/s:eth:wlan:" \
|
||||
-i src/wl/sys/wl_linux.c
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
KERNEL_VERSION=$(</usr/lib/modules/extramodules-CHAKRA/version)
|
||||
KERNEL_VERSION=$(</usr/lib/modules/$_extramodules/version)
|
||||
msg2 "Kernel = $KERNEL_VERSION"
|
||||
|
||||
make -C /usr/lib/modules/"${KERNEL_VERSION}"/build M=`pwd`
|
||||
|
Loading…
Reference in New Issue
Block a user