Merge pull request #13 from jiblime/add-kernel_modules

Added KERNEL_MODULES variable to the Makefile
This commit is contained in:
Ondrej Čerman 2019-10-18 21:55:18 +02:00 committed by GitHub
commit 20e1c22f56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)