aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/kernel-patches/0040-generic-platform-mikrotik-build-bits-5.4.patch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-09-27 17:09:49 +0200
committerKarel Kočí <cynerd@email.cz>2022-09-27 17:09:49 +0200
commit213042bba186b995bc2f25c8c2d06a9652177fa3 (patch)
treef8a12ada9ea2a95e400802e4a6451be7f1178ef7 /nixos/modules/kernel-patches/0040-generic-platform-mikrotik-build-bits-5.4.patch
parentff1073d03d303d3b15e66d03dc4a5a479a387fa7 (diff)
downloadnixturris-213042bba186b995bc2f25c8c2d06a9652177fa3.tar.gz
nixturris-213042bba186b995bc2f25c8c2d06a9652177fa3.tar.bz2
nixturris-213042bba186b995bc2f25c8c2d06a9652177fa3.zip
Import Turris OS kernel patches
Diffstat (limited to 'nixos/modules/kernel-patches/0040-generic-platform-mikrotik-build-bits-5.4.patch')
-rw-r--r--nixos/modules/kernel-patches/0040-generic-platform-mikrotik-build-bits-5.4.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/nixos/modules/kernel-patches/0040-generic-platform-mikrotik-build-bits-5.4.patch b/nixos/modules/kernel-patches/0040-generic-platform-mikrotik-build-bits-5.4.patch
new file mode 100644
index 0000000..15f615e
--- /dev/null
+++ b/nixos/modules/kernel-patches/0040-generic-platform-mikrotik-build-bits-5.4.patch
@@ -0,0 +1,38 @@
+From 6abb32c1bb4fdf810faba9b732582406578ca104 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Thibaut=20VAR=C3=88NE?= <hacks@slashdirt.org>
+Date: Sat, 28 Mar 2020 12:11:50 +0100
+Subject: [PATCH 40/96] generic: platform/mikrotik build bits (5.4)
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This patch adds platform/mikrotik kernel build bits
+
+Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
+---
+ drivers/platform/Kconfig | 2 ++
+ drivers/platform/Makefile | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig
+index 18fc6a08569e..ff069e4a2625 100644
+--- a/drivers/platform/Kconfig
++++ b/drivers/platform/Kconfig
+@@ -15,3 +15,5 @@ source "drivers/platform/mellanox/Kconfig"
+ source "drivers/platform/olpc/Kconfig"
+
+ source "drivers/platform/surface/Kconfig"
++
++source "drivers/platform/mikrotik/Kconfig"
+diff --git a/drivers/platform/Makefile b/drivers/platform/Makefile
+index 4de08ef4ec9d..9cf599863f71 100644
+--- a/drivers/platform/Makefile
++++ b/drivers/platform/Makefile
+@@ -10,3 +10,4 @@ obj-$(CONFIG_OLPC_EC) += olpc/
+ obj-$(CONFIG_GOLDFISH) += goldfish/
+ obj-$(CONFIG_CHROME_PLATFORMS) += chrome/
+ obj-$(CONFIG_SURFACE_PLATFORMS) += surface/
++obj-$(CONFIG_MIKROTIK) += mikrotik/
+--
+2.37.2
+