Only build MTD if CONFIG_MTD is set.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
This commit is contained in:
parent
a3d92a8e70
commit
799e4b8b3e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue