--- linux-4.9.37/drivers/mtd/Makefile 2017-07-12 16:42:41.000000000 +0300 +++ linux-4.9.y/drivers/mtd/Makefile 2021-06-07 13:01:33.000000000 +0300 @@ -30,7 +30,7 @@ nftl-objs := nftlcore.o nftlmount.o inftl-objs := inftlcore.o inftlmount.o +obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/ obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/ -obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/ obj-$(CONFIG_MTD_UBI) += ubi/