--- zzzz-none-000/linux-4.1.38/drivers/mtd/Makefile 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/drivers/mtd/Makefile 2020-11-25 10:06:48.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/