From c9dcc23501280969f9fc379e3bda6b6874c021a5 Mon Sep 17 00:00:00 2001 From: Ondrej Čerman Date: Sun, 6 Oct 2019 20:50:44 +0200 Subject: version 0.1.4 --- Makefile | 5 +++-- dkms.conf | 2 +- zenpower.c | 3 ++- 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 #include -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 // -- cgit v1.2.3-70-g09d2