Unverified Commit 909ae14f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents 7a1ba44f 01371010
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@
}:
stdenv.mkDerivation {
  pname = "msi-ec-kmods";
  version = "0-unstable-2025-05-17";
  version = "0-unstable-2025-09-17";

  src = fetchFromGitHub {
    owner = "BeardOverflow";
    repo = "msi-ec";
    rev = "796be9047b13c311ac4cdec33913775f4057f600";
    hash = "sha256-npJbnWFBVb8TK9ynVD/kXWq2iqO0ACKF4UYsu5mQuok=";
    rev = "ed92e2eb0005ab815f5492c8cb02495289263738";
    hash = "sha256-9jynXUvSZT2smyciK8GqojC/4MtxtqfQvJcf5RgPXKY=";
  };

  dontMakeSourcesWritable = false;
@@ -44,6 +44,6 @@ stdenv.mkDerivation {
    license = lib.licenses.gpl2Plus;
    maintainers = [ lib.maintainers.m1dugh ];
    platforms = lib.platforms.linux;
    broken = kernel.kernelOlder "5.5";
    broken = kernel.kernelOlder "6.5";
  };
}
+6 −6
Original line number Diff line number Diff line
diff --git a/Makefile b/Makefile
index bffcbd4..fd1d8a3 100644
index 9e598ea..0776132 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 VERSION         := 0.08
 VERSION         := 0.12
 DKMS_ROOT_PATH  := /usr/src/msi_ec-$(VERSION)
 TARGET ?= $(shell uname -r)
+KERNELDIR ?= /lib/modules/$(TARGET)/build/
 KERNELRELEASE ?= $(shell uname -r)
+KERNELDIR ?= /lib/modules/$(KERNELRELEASE)/build/
 
 ccflags-y := -std=gnu11 -Wno-declaration-after-statement
 
@@ -14,11 +14,11 @@ index bffcbd4..fd1d8a3 100644
 all: 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
 
 clean:
 	@$(MAKE) -C /lib/modules/$(TARGET)/build M=$(CURDIR) clean
 	@$(MAKE) -C /lib/modules/$(KERNELRELEASE)/build M=$(CURDIR) clean
 
+modules_install:
+	@$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules_install