kernel: split patches folder up into backport, pending and hack folders
[openwrt/openwrt.git] / target / linux / generic / pending-4.9 / 403-mtd-hook-mtdsplit-to-Kbuild.patch
1 From: Gabor Juhos <juhosg@openwrt.org>
2 Subject: [PATCH] kernel/3.10: move squashfs check from rootfs split code into a separate file
3
4 lede-commit: d89bea92b31b4e157a0fa438e75370f089f73427
5 Signed-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 diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
12 index f5ac04e288eb..4185e04760dd 100644
13 --- a/drivers/mtd/Kconfig
14 +++ b/drivers/mtd/Kconfig
15 @@ -27,6 +27,8 @@ config MTD_SPLIT_FIRMWARE_NAME
16 depends on MTD_SPLIT_FIRMWARE
17 default "firmware"
18
19 +source "drivers/mtd/mtdsplit/Kconfig"
20 +
21 endmenu
22
23 config MTD_TESTS
24 diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile
25 index 151d60df303a..48fd01e9f6e3 100644
26 --- a/drivers/mtd/Makefile
27 +++ b/drivers/mtd/Makefile
28 @@ -6,6 +6,8 @@
29 obj-$(CONFIG_MTD) += mtd.o
30 mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
31
32 +obj-$(CONFIG_MTD_SPLIT) += mtdsplit/
33 +
34 obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
35 obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
36 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
37 --
38 2.11.0
39