-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from vyaghras/package_update_kmod
Package update kmod
- Loading branch information
Showing
11 changed files
with
254 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
packages/kmod-5.10-nvidia/0001-makefile-allow-to-use-any-kernel-arch.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
From 8d9bbc893466da39eea9f5b92dc2797cb7d79e12 Mon Sep 17 00:00:00 2001 | ||
From: Shikha Vyaghra <[email protected]> | ||
Date: Wed, 8 Jan 2025 19:42:26 +0000 | ||
Subject: [PATCH] makefile: allow to use any kernel arch | ||
|
||
The added check results in failing build for x86_64 architecture when we use | ||
`_cross_karch` in make commands in spec file and fails for aarch64 while | ||
using _cross_arch in the make commands. | ||
|
||
This check has been added recently and do not allow us to use | ||
Kernel_ARCH we want. | ||
|
||
We need different Kernel arch as we do cross builds. | ||
|
||
Signed-off-by: Shikha Vyaghra <[email protected]> | ||
--- | ||
kernel-open/Makefile | 10 ---------- | ||
kernel/Makefile | 10 ---------- | ||
2 files changed, 20 deletions(-) | ||
|
||
diff --git a/kernel-open/Makefile b/kernel-open/Makefile | ||
index 72672c2..187f39e 100644 | ||
--- a/kernel-open/Makefile | ||
+++ b/kernel-open/Makefile | ||
@@ -80,16 +80,6 @@ else | ||
) | ||
endif | ||
|
||
- KERNEL_ARCH = $(ARCH) | ||
- | ||
- ifneq ($(filter $(ARCH),i386 x86_64),) | ||
- KERNEL_ARCH = x86 | ||
- else | ||
- ifeq ($(filter $(ARCH),arm64 powerpc),) | ||
- $(error Unsupported architecture $(ARCH)) | ||
- endif | ||
- endif | ||
- | ||
NV_KERNEL_MODULES ?= $(wildcard nvidia nvidia-uvm nvidia-vgpu-vfio nvidia-modeset nvidia-drm nvidia-peermem) | ||
NV_KERNEL_MODULES := $(filter-out $(NV_EXCLUDE_KERNEL_MODULES), \ | ||
$(NV_KERNEL_MODULES)) | ||
diff --git a/kernel/Makefile b/kernel/Makefile | ||
index 72672c2..187f39e 100644 | ||
--- a/kernel/Makefile | ||
+++ b/kernel/Makefile | ||
@@ -80,16 +80,6 @@ else | ||
) | ||
endif | ||
|
||
- KERNEL_ARCH = $(ARCH) | ||
- | ||
- ifneq ($(filter $(ARCH),i386 x86_64),) | ||
- KERNEL_ARCH = x86 | ||
- else | ||
- ifeq ($(filter $(ARCH),arm64 powerpc),) | ||
- $(error Unsupported architecture $(ARCH)) | ||
- endif | ||
- endif | ||
- | ||
NV_KERNEL_MODULES ?= $(wildcard nvidia nvidia-uvm nvidia-vgpu-vfio nvidia-modeset nvidia-drm nvidia-peermem) | ||
NV_KERNEL_MODULES := $(filter-out $(NV_EXCLUDE_KERNEL_MODULES), \ | ||
$(NV_KERNEL_MODULES)) | ||
-- | ||
2.40.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
packages/kmod-5.15-nvidia/0001-makefile-allow-to-use-any-kernel-arch.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
From 8d9bbc893466da39eea9f5b92dc2797cb7d79e12 Mon Sep 17 00:00:00 2001 | ||
From: Shikha Vyaghra <[email protected]> | ||
Date: Wed, 8 Jan 2025 19:42:26 +0000 | ||
Subject: [PATCH] makefile: allow to use any kernel arch | ||
|
||
The added check results in failing build for x86_64 architecture when we use | ||
`_cross_karch` in make commands in spec file and fails for aarch64 while | ||
using _cross_arch in the make commands. | ||
|
||
This check has been added recently and do not allow us to use | ||
Kernel_ARCH we want. | ||
|
||
We need different Kernel arch as we do cross builds. | ||
|
||
Signed-off-by: Shikha Vyaghra <[email protected]> | ||
--- | ||
kernel-open/Makefile | 10 ---------- | ||
kernel/Makefile | 10 ---------- | ||
2 files changed, 20 deletions(-) | ||
|
||
diff --git a/kernel-open/Makefile b/kernel-open/Makefile | ||
index 72672c2..187f39e 100644 | ||
--- a/kernel-open/Makefile | ||
+++ b/kernel-open/Makefile | ||
@@ -80,16 +80,6 @@ else | ||
) | ||
endif | ||
|
||
- KERNEL_ARCH = $(ARCH) | ||
- | ||
- ifneq ($(filter $(ARCH),i386 x86_64),) | ||
- KERNEL_ARCH = x86 | ||
- else | ||
- ifeq ($(filter $(ARCH),arm64 powerpc),) | ||
- $(error Unsupported architecture $(ARCH)) | ||
- endif | ||
- endif | ||
- | ||
NV_KERNEL_MODULES ?= $(wildcard nvidia nvidia-uvm nvidia-vgpu-vfio nvidia-modeset nvidia-drm nvidia-peermem) | ||
NV_KERNEL_MODULES := $(filter-out $(NV_EXCLUDE_KERNEL_MODULES), \ | ||
$(NV_KERNEL_MODULES)) | ||
diff --git a/kernel/Makefile b/kernel/Makefile | ||
index 72672c2..187f39e 100644 | ||
--- a/kernel/Makefile | ||
+++ b/kernel/Makefile | ||
@@ -80,16 +80,6 @@ else | ||
) | ||
endif | ||
|
||
- KERNEL_ARCH = $(ARCH) | ||
- | ||
- ifneq ($(filter $(ARCH),i386 x86_64),) | ||
- KERNEL_ARCH = x86 | ||
- else | ||
- ifeq ($(filter $(ARCH),arm64 powerpc),) | ||
- $(error Unsupported architecture $(ARCH)) | ||
- endif | ||
- endif | ||
- | ||
NV_KERNEL_MODULES ?= $(wildcard nvidia nvidia-uvm nvidia-vgpu-vfio nvidia-modeset nvidia-drm nvidia-peermem) | ||
NV_KERNEL_MODULES := $(filter-out $(NV_EXCLUDE_KERNEL_MODULES), \ | ||
$(NV_KERNEL_MODULES)) | ||
-- | ||
2.40.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
packages/kmod-6.1-nvidia/0001-makefile-allow-to-use-any-kernel-arch.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
From 8d9bbc893466da39eea9f5b92dc2797cb7d79e12 Mon Sep 17 00:00:00 2001 | ||
From: Shikha Vyaghra <[email protected]> | ||
Date: Wed, 8 Jan 2025 19:42:26 +0000 | ||
Subject: [PATCH] makefile: allow to use any kernel arch | ||
|
||
The added check results in failing build for x86_64 architecture when we use | ||
`_cross_karch` in make commands in spec file and fails for aarch64 while | ||
using _cross_arch in the make commands. | ||
|
||
This check has been added recently and do not allow us to use | ||
Kernel_ARCH we want. | ||
|
||
We need different Kernel arch as we do cross builds. | ||
|
||
Signed-off-by: Shikha Vyaghra <[email protected]> | ||
--- | ||
kernel-open/Makefile | 10 ---------- | ||
kernel/Makefile | 10 ---------- | ||
2 files changed, 20 deletions(-) | ||
|
||
diff --git a/kernel-open/Makefile b/kernel-open/Makefile | ||
index 72672c2..187f39e 100644 | ||
--- a/kernel-open/Makefile | ||
+++ b/kernel-open/Makefile | ||
@@ -80,16 +80,6 @@ else | ||
) | ||
endif | ||
|
||
- KERNEL_ARCH = $(ARCH) | ||
- | ||
- ifneq ($(filter $(ARCH),i386 x86_64),) | ||
- KERNEL_ARCH = x86 | ||
- else | ||
- ifeq ($(filter $(ARCH),arm64 powerpc),) | ||
- $(error Unsupported architecture $(ARCH)) | ||
- endif | ||
- endif | ||
- | ||
NV_KERNEL_MODULES ?= $(wildcard nvidia nvidia-uvm nvidia-vgpu-vfio nvidia-modeset nvidia-drm nvidia-peermem) | ||
NV_KERNEL_MODULES := $(filter-out $(NV_EXCLUDE_KERNEL_MODULES), \ | ||
$(NV_KERNEL_MODULES)) | ||
diff --git a/kernel/Makefile b/kernel/Makefile | ||
index 72672c2..187f39e 100644 | ||
--- a/kernel/Makefile | ||
+++ b/kernel/Makefile | ||
@@ -80,16 +80,6 @@ else | ||
) | ||
endif | ||
|
||
- KERNEL_ARCH = $(ARCH) | ||
- | ||
- ifneq ($(filter $(ARCH),i386 x86_64),) | ||
- KERNEL_ARCH = x86 | ||
- else | ||
- ifeq ($(filter $(ARCH),arm64 powerpc),) | ||
- $(error Unsupported architecture $(ARCH)) | ||
- endif | ||
- endif | ||
- | ||
NV_KERNEL_MODULES ?= $(wildcard nvidia nvidia-uvm nvidia-vgpu-vfio nvidia-modeset nvidia-drm nvidia-peermem) | ||
NV_KERNEL_MODULES := $(filter-out $(NV_EXCLUDE_KERNEL_MODULES), \ | ||
$(NV_KERNEL_MODULES)) | ||
-- | ||
2.40.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.