]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/dma/Makefile
blackfin: Move machine specific gpio_port_t structure back to blackfin arch folder.
[karo-tx-uboot.git] / drivers / dma / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     := $(obj)libdma.o
11
12 COBJS-$(CONFIG_FSLDMAFEC) += MCD_tasksInit.o MCD_dmaApi.o MCD_tasks.o
13 COBJS-$(CONFIG_APBH_DMA) += apbh_dma.o
14 COBJS-$(CONFIG_FSL_DMA) += fsl_dma.o
15 COBJS-$(CONFIG_OMAP3_DMA) += omap3_dma.o
16
17 COBJS   := $(COBJS-y)
18 SRCS    := $(COBJS:.o=.c)
19 OBJS    := $(addprefix $(obj),$(COBJS))
20
21 all:    $(LIB)
22
23 $(LIB): $(obj).depend $(OBJS)
24         $(call cmd_link_o_target, $(OBJS))
25
26 #########################################################################
27
28 # defines $(obj).depend target
29 include $(SRCTREE)/rules.mk
30
31 sinclude $(obj).depend
32
33 #########################################################################