imagebuilder: x86 fails to build inside the imagebuilder
[openwrt.git] / target / linux / generic / patches-3.12 / 408-mtd-hook-mtdsplit_seama-into-Kbuild.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -50,6 +50,10 @@ config MTD_SPLIT_SQUASHFS_ROOT
4  
5  comment "Firmware partition parsers"
6  
7 +config MTD_SPLIT_SEAMA_FW
8 +       bool "Seama firmware parser"
9 +       select MTD_SPLIT
10 +
11  config MTD_SPLIT_UIMAGE_FW
12         bool "uImage based firmware partition parser"
13         select MTD_SPLIT
14 --- a/drivers/mtd/Makefile
15 +++ b/drivers/mtd/Makefile
16 @@ -7,6 +7,7 @@ obj-$(CONFIG_MTD)               += mtd.o
17  mtd-y                          := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
18  
19  mtd-$(CONFIG_MTD_SPLIT)                += mtdsplit.o
20 +mtd-$(CONFIG_MTD_SPLIT_SEAMA_FW) += mtdsplit_seama.o
21  mtd-$(CONFIG_MTD_SPLIT_SQUASHFS_ROOT) += mtdsplit_squashfs.o
22  mtd-$(CONFIG_MTD_SPLIT_UIMAGE_FW) += mtdsplit_uimage.o
23