aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Čerman2019-10-18 21:55:18 +0200
committerGitHub2019-10-18 21:55:18 +0200
commit20e1c22f56d54a9e98374f111269ac89fc5d871b (patch)
tree7d81cc1a22ea71c8773d9701d6a73135e64b27d9
parent71f658f6c3faf2932b2b6c7bb162140ed2094530 (diff)
parent243f8571c168c2ac248ae75cb0a45194873e7278 (diff)
Merge pull request #13 from jiblime/add-kernel_modules
Added KERNEL_MODULES variable to the Makefile
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index eafd166..9f36841 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@ VERSION := 0.1.4
TARGET := $(shell uname -r)
DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
+KERNEL_MODULES := /lib/modules/$(TARGET)
+
ifneq ("","$(wildcard /usr/src/linux-headers-$(TARGET)/*)")
# Ubuntu
KERNEL_BUILD := /usr/src/linux-headers-$(TARGET)