2
0

403-mtd-hook-mtdsplit-to-Kbuild.patch 570 B

12345678910111213141516171819202122
  1. --- a/drivers/mtd/Kconfig
  2. +++ b/drivers/mtd/Kconfig
  3. @@ -27,6 +27,8 @@ config MTD_SPLIT_FIRMWARE_NAME
  4. depends on MTD_SPLIT_FIRMWARE
  5. default "firmware"
  6. +source "drivers/mtd/mtdsplit/Kconfig"
  7. +
  8. endmenu
  9. config MTD_TESTS
  10. --- a/drivers/mtd/Makefile
  11. +++ b/drivers/mtd/Makefile
  12. @@ -6,6 +6,8 @@
  13. obj-$(CONFIG_MTD) += mtd.o
  14. mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
  15. +obj-$(CONFIG_MTD_SPLIT) += mtdsplit/
  16. +
  17. obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
  18. obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
  19. obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o