msi-ec: 0-unstable-2025-05-17 -> 0-unstable-2025-09-17 (#443786)

This commit is contained in:
Sandro
2025-11-01 21:48:30 +00:00
committed by GitHub
2 changed files with 10 additions and 10 deletions

View File

@@ -9,13 +9,13 @@
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "msi-ec-kmods"; pname = "msi-ec-kmods";
version = "0-unstable-2025-05-17"; version = "0-unstable-2025-09-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "BeardOverflow"; owner = "BeardOverflow";
repo = "msi-ec"; repo = "msi-ec";
rev = "796be9047b13c311ac4cdec33913775f4057f600"; rev = "ed92e2eb0005ab815f5492c8cb02495289263738";
hash = "sha256-npJbnWFBVb8TK9ynVD/kXWq2iqO0ACKF4UYsu5mQuok="; hash = "sha256-9jynXUvSZT2smyciK8GqojC/4MtxtqfQvJcf5RgPXKY=";
}; };
dontMakeSourcesWritable = false; dontMakeSourcesWritable = false;
@@ -44,6 +44,6 @@ stdenv.mkDerivation {
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.m1dugh ]; maintainers = [ lib.maintainers.m1dugh ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
broken = kernel.kernelOlder "5.5"; broken = kernel.kernelOlder "6.5";
}; };
} }

View File

@@ -1,12 +1,12 @@
diff --git a/Makefile b/Makefile diff --git a/Makefile b/Makefile
index bffcbd4..fd1d8a3 100644 index 9e598ea..0776132 100644
--- a/Makefile --- a/Makefile
+++ b/Makefile +++ b/Makefile
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
VERSION := 0.08 VERSION := 0.12
DKMS_ROOT_PATH := /usr/src/msi_ec-$(VERSION) DKMS_ROOT_PATH := /usr/src/msi_ec-$(VERSION)
TARGET ?= $(shell uname -r) KERNELRELEASE ?= $(shell uname -r)
+KERNELDIR ?= /lib/modules/$(TARGET)/build/ +KERNELDIR ?= /lib/modules/$(KERNELRELEASE)/build/
ccflags-y := -std=gnu11 -Wno-declaration-after-statement ccflags-y := -std=gnu11 -Wno-declaration-after-statement
@@ -14,11 +14,11 @@ index bffcbd4..fd1d8a3 100644
all: modules all: modules
modules: modules:
- @$(MAKE) -C /lib/modules/$(TARGET)/build M=$(CURDIR) modules - @$(MAKE) -C /lib/modules/$(KERNELRELEASE)/build M=$(CURDIR) modules
+ @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules + @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules
clean: clean:
@$(MAKE) -C /lib/modules/$(TARGET)/build M=$(CURDIR) clean @$(MAKE) -C /lib/modules/$(KERNELRELEASE)/build M=$(CURDIR) clean
+modules_install: +modules_install:
+ @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules_install + @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules_install