diff options
Diffstat (limited to 'nuttx/drivers/mtd/Make.defs')
-rw-r--r-- | nuttx/drivers/mtd/Make.defs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/nuttx/drivers/mtd/Make.defs b/nuttx/drivers/mtd/Make.defs index fd16fd405..3f6c8b6fb 100644 --- a/nuttx/drivers/mtd/Make.defs +++ b/nuttx/drivers/mtd/Make.defs @@ -3,7 +3,7 @@ # These driver supports various Memory Technology Devices (MTD) using the # NuttX MTD interface. # -# Copyright (C) 2009-2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2009-2013 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -39,12 +39,16 @@ ifeq ($(CONFIG_MTD),y) -CSRCS += at45db.c flash_eraseall.c ftl.c m25px.c rammtd.c ramtron.c +CSRCS += at45db.c flash_eraseall.c ftl.c m25px.c ramtron.c ifeq ($(CONFIG_MTD_PARTITION),y) CSRCS += mtd_partition.c endif +ifeq ($(CONFIG_RAMMTD),y) +CSRCS += rammtd.c +endif + ifeq ($(CONFIG_MTD_AT24XX),y) CSRCS += at24xx.c endif @@ -65,6 +69,12 @@ ifeq ($(CONFIG_MTD_AT25),y) CSRCS += at25.c endif +ifeq ($(CONFIG_MTD_SMART),y) +ifeq ($(CONFIG_FS_SMARTFS),y) +CSRCS += smart.c +endif +endif + # Include MTD driver support DEPPATH += --dep-path mtd |