aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Čerman2019-10-06 20:50:44 +0200
committerOndrej Čerman2019-10-06 20:50:44 +0200
commitc9dcc23501280969f9fc379e3bda6b6874c021a5 (patch)
tree8f4d28a615c685c4662a7e06d2a57222d0dc0280
parentd214772d66b1f2c55b08898266eb0e2f0359b29f (diff)
version 0.1.4v0.1.4
-rw-r--r--Makefile5
-rw-r--r--dkms.conf2
-rw-r--r--zenpower.c3
3 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f9efb8c..eafd166 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-VERSION := 0.1.3
+VERSION := 0.1.4
TARGET := $(shell uname -r)
-DKMS_ROOT_PATH := /usr/src/zenpower-0.1.3
+DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
ifneq ("","$(wildcard /usr/src/linux-headers-$(TARGET)/*)")
# Ubuntu
@@ -34,6 +34,7 @@ dkms-install:
cp $(CURDIR)/zenpower.c $(DKMS_ROOT_PATH)
sed -e "s/@CFLGS@/${MCFLAGS}/" \
+ -e "s/@VERSION@/$(VERSION)/" \
-i $(DKMS_ROOT_PATH)/dkms.conf
dkms add zenpower/$(VERSION)
diff --git a/dkms.conf b/dkms.conf
index b43f3d3..c92a9ca 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -1,7 +1,7 @@
MAKE="make TARGET=${kernelver} CFLAGS_MODULE+=@CFLGS@"
CLEAN="make clean"
PACKAGE_NAME="zenpower"
-PACKAGE_VERSION="0.1.3"
+PACKAGE_VERSION="@VERSION@"
BUILT_MODULE_NAME[0]="zenpower"
DEST_MODULE_LOCATION[0]="/kernel/drivers/hwmon/zenpower"
AUTOINSTALL="yes"
diff --git a/zenpower.c b/zenpower.c
index bdf5e19..098a838 100644
--- a/zenpower.c
+++ b/zenpower.c
@@ -4,9 +4,10 @@
#include <linux/pci.h>
#include <asm/amd_nb.h>
-MODULE_DESCRIPTION("Voltage monitor for AMD ZEN family CPUs");
+MODULE_DESCRIPTION("AMD ZEN family CPU Sensors Driver");
MODULE_AUTHOR("Ondrej Čerman");
MODULE_LICENSE("GPL");
+MODULE_VERSION("0.1.4");
// based on k10temp - GPL - (c) 2009 Clemens Ladisch <clemens@ladisch.de>
//