summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts-kmod-alx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-lts-kmod-alx/PKGBUILD')
-rw-r--r--libre/linux-libre-lts-kmod-alx/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/libre/linux-libre-lts-kmod-alx/PKGBUILD b/libre/linux-libre-lts-kmod-alx/PKGBUILD
index 57ed38dc7..42db4726e 100644
--- a/libre/linux-libre-lts-kmod-alx/PKGBUILD
+++ b/libre/linux-libre-lts-kmod-alx/PKGBUILD
@@ -20,6 +20,9 @@ build() {
# current extramodules version
_extraver=extramodules-3.0-LIBRE-LTS
+ # replacing to specific linux-libre-lts kernel version
+ sed -i -e 's/lib\/modules\/\$(shell uname -r)/usr\/lib\/modules\/3.0.46-1-LIBRE-LTS/' Makefile
+
cd ${srcdir}/compat-wireless-2012-10-03-pc
./scripts/driver-select alx
make