kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4
[openwrt/openwrt.git] / target / linux / ramips / patches-5.4 / 0122-mips-ralink-enable-zboot-support.patch
1 From 1f0400d0e2c410b04f246aefb2e9b5155eb4b0bf Mon Sep 17 00:00:00 2001
2 From: Chuanhong Guo <gch981213@gmail.com>
3 Date: Tue, 13 Oct 2020 10:05:47 +0800
4 Subject: mips: ralink: enable zboot support
5
6 Some of these ralink devices come with an ancient u-boot which can't
7 extract LZMA properly when image gets too big.
8 Enable zboot support to get a self-extracting kernel instead of relying
9 on broken u-boot support.
10
11 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
12 Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
13 ---
14 arch/mips/Kconfig | 1 +
15 1 file changed, 1 insertion(+)
16
17 --- a/arch/mips/Kconfig
18 +++ b/arch/mips/Kconfig
19 @@ -626,6 +626,7 @@ config RALINK
20 select SYS_SUPPORTS_32BIT_KERNEL
21 select SYS_SUPPORTS_LITTLE_ENDIAN
22 select SYS_SUPPORTS_MIPS16
23 + select SYS_SUPPORTS_ZBOOT
24 select SYS_HAS_EARLY_PRINTK
25 select CLKDEV_LOOKUP
26 select ARCH_HAS_RESET_CONTROLLER