summarylogtreecommitdiffstats
path: root/override-kversion.patch
diff options
context:
space:
mode:
authorAliaksandr Mianzhynski2020-07-06 12:11:05 +0300
committerAliaksandr Mianzhynski2020-07-06 12:11:05 +0300
commit76ee3e840d2dfa30f340ae69bbc701719ac209dd (patch)
tree6bf467c8d4e8c078bc730f6d8b646a334c14b915 /override-kversion.patch
parent13d46eaf1577013a016777a6d30dcd5bc097a2d6 (diff)
downloadaur-76ee3e840d2dfa30f340ae69bbc701719ac209dd.tar.gz
Override KVERSION in Makefile
Diffstat (limited to 'override-kversion.patch')
-rw-r--r--override-kversion.patch5
1 files changed, 5 insertions, 0 deletions
diff --git a/override-kversion.patch b/override-kversion.patch
new file mode 100644
index 00000000000..60811d4b208
--- /dev/null
+++ b/override-kversion.patch
@@ -0,0 +1,5 @@
+2c2,3
+< KDIR = /lib/modules/`uname -r`/build
+---
+> KVERSION ?= `uname -r`
+> KDIR = /lib/modules/$(KVERSION)/build