developer | ec4ebe4 | 2022-04-12 11:17:45 +0800 | [diff] [blame] | 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 | --- 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 |