summaryrefslogtreecommitdiff
path: root/drivers/dma/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/Makefile')
-rw-r--r--drivers/dma/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
index 7e17360de5..cf29efa027 100644
--- a/drivers/dma/Makefile
+++ b/drivers/dma/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libdma.a
-COBJS-y += MCD_tasksInit.o MCD_dmaApi.o MCD_tasks.o
+COBJS-$(CONFIG_FSLDMAFEC) += MCD_tasksInit.o MCD_dmaApi.o MCD_tasks.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)