From: Gabor Juhos Subject: [PATCH] kernel/3.10: move squashfs check from rootfs split code into a separate file lede-commit: d89bea92b31b4e157a0fa438e75370f089f73427 Signed-off-by: Gabor Juhos --- drivers/mtd/Kconfig | 2 ++ drivers/mtd/Makefile | 2 ++ 2 files changed, 4 insertions(+) --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -27,6 +27,8 @@ config MTD_SPLIT_FIRMWARE_NAME depends on MTD_SPLIT_FIRMWARE default "firmware" +source "drivers/mtd/mtdsplit/Kconfig" + endmenu config MTD_TESTS --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -9,6 +9,8 @@ mtd-y := mtdcore.o mtdsuper.o mtdconc obj-y += parsers/ +obj-$(CONFIG_MTD_SPLIT) += mtdsplit/ + # 'Users' - code which presents functionality to userspace. obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o obj-$(CONFIG_MTD_BLOCK) += mtdblock.o