9
0
Fork 0

Only build MTD if CONFIG_MTD is set.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2013-01-06 13:16:20 +01:00
parent a3d92a8e70
commit 799e4b8b3e
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
############################################################################
# Include MTD drivers
ifeq ($(CONFIG_MTD),y)
CSRCS += at45db.c flash_eraseall.c ftl.c m25px.c rammtd.c ramtron.c
@ -59,4 +60,4 @@ endif
DEPPATH += --dep-path mtd
VPATH += :mtd
endif