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

1234567891011121314151617181920212223242526272829303132
  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. lede-commit: d89bea92b31b4e157a0fa438e75370f089f73427
  4. Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  5. ---
  6. drivers/mtd/Kconfig | 2 ++
  7. drivers/mtd/Makefile | 2 ++
  8. 2 files changed, 4 insertions(+)
  9. --- a/drivers/mtd/Kconfig
  10. +++ b/drivers/mtd/Kconfig
  11. @@ -27,6 +27,8 @@ config MTD_SPLIT_FIRMWARE_NAME
  12. depends on MTD_SPLIT_FIRMWARE
  13. default "firmware"
  14. +source "drivers/mtd/mtdsplit/Kconfig"
  15. +
  16. endmenu
  17. config MTD_TESTS
  18. --- a/drivers/mtd/Makefile
  19. +++ b/drivers/mtd/Makefile
  20. @@ -6,6 +6,8 @@
  21. obj-$(CONFIG_MTD) += mtd.o
  22. mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
  23. +obj-$(CONFIG_MTD_SPLIT) += mtdsplit/
  24. +
  25. obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
  26. obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
  27. obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o