blob: 5d868fffa8bb7c34c68013ad0ba9efc26a3bee18 [file] [log] [blame]
developerec4ebe42022-04-12 11:17:45 +08001From: Gabor Juhos <juhosg@openwrt.org>
2Subject: [PATCH] kernel/3.10: move squashfs check from rootfs split code into a separate file
3
4lede-commit: d89bea92b31b4e157a0fa438e75370f089f73427
5Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
6---
7 drivers/mtd/Kconfig | 2 ++
8 drivers/mtd/Makefile | 2 ++
9 2 files changed, 4 insertions(+)
10
11--- a/drivers/mtd/Kconfig
12+++ b/drivers/mtd/Kconfig
13@@ -27,6 +27,8 @@ config MTD_SPLIT_FIRMWARE_NAME
14 depends on MTD_SPLIT_FIRMWARE
15 default "firmware"
16
17+source "drivers/mtd/mtdsplit/Kconfig"
18+
19 endmenu
20
21 config MTD_TESTS
22--- a/drivers/mtd/Makefile
23+++ b/drivers/mtd/Makefile
24@@ -9,6 +9,8 @@ mtd-y := mtdcore.o mtdsuper.o mtdconc
25
26 obj-y += parsers/
27
28+obj-$(CONFIG_MTD_SPLIT) += mtdsplit/
29+
30 # 'Users' - code which presents functionality to userspace.
31 obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o
32 obj-$(CONFIG_MTD_BLOCK) += mtdblock.o