summaryrefslogtreecommitdiff
path: root/libre/linux-libre-kmod-alx
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-15 13:56:05 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-15 13:56:05 -0200
commit28b004cd226ac5bdef539050db037cb00890bc6e (patch)
tree1473978b6b91d8a87104ca58f02f4eb20fd9a832 /libre/linux-libre-kmod-alx
parent7413936a7ac26ecfc81e86a6550a53fd86c03820 (diff)
linux-libre-kmod-alx: adding sed to replacing to specific linux-libre kernel version when builds
Diffstat (limited to 'libre/linux-libre-kmod-alx')
-rw-r--r--libre/linux-libre-kmod-alx/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/libre/linux-libre-kmod-alx/PKGBUILD b/libre/linux-libre-kmod-alx/PKGBUILD
index a33a8588c..a38a57e00 100644
--- a/libre/linux-libre-kmod-alx/PKGBUILD
+++ b/libre/linux-libre-kmod-alx/PKGBUILD
@@ -20,6 +20,9 @@ build() {
# current extramodules version
_extraver=extramodules-3.6-LIBRE
+ # replacing to specific linux-libre kernel version
+ sed -i -e 's/lib\/modules\/\$(shell uname -r)/usr\/lib\/modules\/3.6.2-1-LIBRE/' Makefile
+
cd ${srcdir}/compat-wireless-2012-10-03-pc
./scripts/driver-select alx
make