--- zzzz-none-000/linux-4.4.271/drivers/mtd/devices/Makefile 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/drivers/mtd/devices/Makefile 2023-01-11 09:25:42.000000000 +0000 @@ -20,3 +20,10 @@ CFLAGS_docg3.o += -I$(src) + +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 \ No newline at end of file