mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
sys-kernel/zenpower3: change fork to koweda one
* decide to use this fork since it fix some issues with the unmainted original package * decided to drop Sid127 package since it change the name of module/sensor to zenstats breaking compatiblity with software that uses zenpower. Also I don't have way to check if the zen4/5 support work since I only have zen3 hardware. Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
From 580c957c1159e38b3b909504652782acc0317deb Mon Sep 17 00:00:00 2001
|
||||
From f575836deb3221cde127cb06390dc192d5099455 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?=
|
||||
<gonegrier.duarte@gmail.com>
|
||||
Date: Sun, 29 Dec 2024 10:56:13 +0000
|
||||
Date: Sun, 9 Mar 2025 20:57:53 +0000
|
||||
Subject: [PATCH] zenpower3: use KV_FULL to detect kernel version. * fix CFLAGS
|
||||
for clang
|
||||
MIME-Version: 1.0
|
||||
@@ -10,18 +10,18 @@ Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
|
||||
---
|
||||
Makefile | 12 ++++++++----
|
||||
1 file changed, 8 insertions(+), 4 deletions(-)
|
||||
Makefile | 8 ++++++--
|
||||
1 file changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 72c831c..03cbdc3 100644
|
||||
index d108729..37a58ba 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,8 +1,12 @@
|
||||
VERSION := 0.2.0
|
||||
-TARGET := $(shell uname -r)
|
||||
+TARGET := ${KV_FULL}
|
||||
DKMS_ROOT_PATH := /usr/src/zenstats-$(VERSION)
|
||||
DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
|
||||
|
||||
-KBUILD_CFLAGS += -Wimplicit-fallthrough=3
|
||||
+ifeq ($(CC),clang)
|
||||
@@ -30,8 +30,8 @@ index 72c831c..03cbdc3 100644
|
||||
+ CXXFLAGS += -Wimplicit-fallthrough=3
|
||||
+endif
|
||||
|
||||
KERNEL_MODULES := /lib/modules/$(TARGET)
|
||||
|
||||
KERNEL_MODULES := /lib/modules/$(TARGET)
|
||||
|
||||
--
|
||||
2.47.1
|
||||
2.48.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user