--- zzzz-none-000/linux-4.1.52/drivers/mtd/Makefile 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/drivers/mtd/Makefile 2022-03-02 11:37:13.000000000 +0000 @@ -30,7 +30,11 @@ nftl-objs := nftlcore.o nftlmount.o inftl-objs := inftlcore.o inftlmount.o -obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/ +obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/ avm/ + +ifdef BCM_KF # defined(CONFIG_BCM_KF_MTD_BCMNAND) +obj-$(CONFIG_MTD_BRCMNAND) += brcmnand/ +endif #BCM_KF # defined(CONFIG_BCM_KF_MTD_BCMNAND) obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/ obj-$(CONFIG_MTD_UBI) += ubi/