--- zzzz-none-000/linux-3.10.107/drivers/mtd/devices/Makefile 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/drivers/mtd/devices/Makefile 2021-11-10 11:53:55.000000000 +0000 @@ -17,5 +17,15 @@ obj-$(CONFIG_MTD_SST25L) += sst25l.o obj-$(CONFIG_MTD_BCM47XXSFLASH) += bcm47xxsflash.o - CFLAGS_docg3.o += -I$(src) + +obj-$(CONFIG_MTD_AR7240_SPI_FLASH) += ar7240_flash.o +obj-$(CONFIG_MTD_AR7100_SPI_FLASH) += ar7100_flash.o +obj-$(CONFIG_MTD_ATH_FLASH) += ath_flash.o + +ifeq ($(ATH_SST_FLASH), y) +CFLAGS_ar7240_flash.o += -DATH_SST_FLASH=1 +CFLAGS_ath_flash.o += -DATH_SST_FLASH=1 +endif + +obj-$(CONFIG_MTD_VX185_SNOR) += vx185_snor.o