--- zzzz-none-000/linux-5.4.213/drivers/mtd/Makefile 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/drivers/mtd/Makefile 2024-08-14 09:02:07.000000000 +0000 @@ -9,6 +9,8 @@ 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 @@ -27,6 +29,11 @@ obj-y += chips/ lpddr/ maps/ devices/ nand/ tests/ +obj-$(CONFIG_AVM_ENHANCED) += avm/ + obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/ obj-$(CONFIG_MTD_UBI) += ubi/ obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/ + +# Composite drivers must be loaded last +obj-y += composite/