mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
Don't build drivers/mtd unless CONFIG_MTD is defined (Denis Carikli)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5519 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
|
||||
# Include MTD drivers
|
||||
|
||||
ifeq ($(CONFIG_MTD),y)
|
||||
|
||||
CSRCS += at45db.c flash_eraseall.c ftl.c m25px.c rammtd.c ramtron.c
|
||||
|
||||
ifeq ($(CONFIG_MTD_AT24XX),y)
|
||||
@@ -60,3 +62,4 @@ endif
|
||||
DEPPATH += --dep-path mtd
|
||||
VPATH += :mtd
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user