diff options
author | jiblime | 2019-10-12 17:37:59 -0700 |
---|---|---|
committer | jiblime | 2019-10-12 17:37:59 -0700 |
commit | 243f8571c168c2ac248ae75cb0a45194873e7278 (patch) | |
tree | 7d81cc1a22ea71c8773d9701d6a73135e64b27d9 | |
parent | 71f658f6c3faf2932b2b6c7bb162140ed2094530 (diff) |
Added KERNEL_MODULES variable to the Makefile
Without it, systems with kernels that don't use Ubuntu's or Fedora's kernel locations will default to '/build'.
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |