From 5b573810f66b9f8c6e62e6c39da14348f3c92964 Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <josef.schlehofer@nic.cz>
Date: Wed, 12 Oct 2022 11:27:24 +0200
Subject: [PATCH] patches/openwrt: mpc85xx: workaround for building: add kernel
 5.10

---
 ...-turris1x-Workaround-fix-for-building-turris1.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/patches/openwrt/wip/0100-mpc85xx-turris1x-Workaround-fix-for-building-turris1.patch b/patches/openwrt/wip/0100-mpc85xx-turris1x-Workaround-fix-for-building-turris1.patch
index 0c853595e..56e9939b4 100644
--- a/patches/openwrt/wip/0100-mpc85xx-turris1x-Workaround-fix-for-building-turris1.patch
+++ b/patches/openwrt/wip/0100-mpc85xx-turris1x-Workaround-fix-for-building-turris1.patch
@@ -15,6 +15,16 @@ Signed-off-by: Marek BehĂşn <marek.behun@nic.cz>
  3 files changed, 3 insertions(+), 42 deletions(-)
  delete mode 100644 target/linux/mpc85xx/patches-5.4/900-powerpc-bootwrapper-disable-uImage-generation.patch
 
+diff --git a/target/linux/mpc85xx/config-5.10 b/target/linux/mpc85xx/config-5.10
+index ee8f9a40ed..94a32358ae 100644
+--- a/target/linux/mpc85xx/config-5.10
++++ b/target/linux/mpc85xx/config-5.10
+@@ -327,3 +327,5 @@ CONFIG_USB_UAS=y
+ CONFIG_SCSI=y
+ CONFIG_BLK_DEV_SD=y
+ CONFIG_MTD_NAND_ECC_SW_BCH=y
++# CONFIG_KERNEL_XZ is not set
++CONFIG_KERNEL_GZIP=y
 diff --git a/target/linux/mpc85xx/config-5.15 b/target/linux/mpc85xx/config-5.15
 index ee8f9a40ed..94a32358ae 100644
 --- a/target/linux/mpc85xx/config-5.15
-- 
GitLab