diff --git a/drivers/mtd/Make.defs b/drivers/mtd/Make.defs index bef1779f7a..ac3ee92116 100644 --- a/drivers/mtd/Make.defs +++ b/drivers/mtd/Make.defs @@ -39,7 +39,7 @@ ifeq ($(CONFIG_MTD),y) -CSRCS += at45db.c ftl.c ramtron.c mtd_config.c +CSRCS += ftl.c mtd_config.c ifeq ($(CONFIG_MTD_PARTITION),y) CSRCS += mtd_partition.c @@ -80,6 +80,14 @@ ifeq ($(CONFIG_MTD_AT24XX),y) CSRCS += at24xx.c endif +ifeq ($(CONFIG_MTD_AT45DB),y) +CSRCS += at45db.c +endif + +ifeq ($(CONFIG_MTD_RAMTRON),y) +CSRCS += ramtron.c +endif + ifeq ($(CONFIG_MTD_SST25),y) CSRCS += sst25.c endif