forked from AdityaGarg8/pve-edge-kernel-t2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
T2.patch
42 lines (37 loc) · 1.22 KB
/
T2.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From ed1678bcea8bbac24c993499e1799fd9f3d61dab Mon Sep 17 00:00:00 2001
From: Aditya Garg <[email protected]>
Date: Fri, 15 Dec 2023 15:56:43 +0530
Subject: [PATCH] T2 (#1)
* Add t2 drivers
* Update Makefile
---
Makefile | 2 +-
debian/rules | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 3745556..3a74ddd 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ KREL=7
KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN)
KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL)
-EXTRAVERSION=-$(KREL)-pve
+EXTRAVERSION=-$(KREL)-pve-t2
KVNAME=$(KERNEL_VER)$(EXTRAVERSION)
PACKAGE=proxmox-kernel-$(KVNAME)
HDRPACKAGE=proxmox-headers-$(KVNAME)
diff --git a/debian/rules b/debian/rules
index 2718672..7512349 100755
--- a/debian/rules
+++ b/debian/rules
@@ -103,6 +103,11 @@ PMX_CONFIG_OPTS= \
-d CONFIG_GDS_FORCE_MITIGATION \
-d CONFIG_WQ_CPU_INTENSIVE_REPORT \
-d UBSAN_BOUNDS \
+-m CONFIG_HID_APPLETB_BL \
+-m CONFIG_HID_APPLETB_KBD \
+-m CONFIG_DRM_APPLETBDRM \
+-m CONFIG_HID_APPLE_MAGIC_BACKLIGHT \
+-m CONFIG_APPLE_BCE \
debian/control: $(wildcard debian/*.in)
sed -e 's/@@KVNAME@@/$(KVNAME)/g' < debian/proxmox-kernel.prerm.in > debian/$(PMX_KERNEL_PKG).prerm