summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/sdma/Makefile
blob: 59f94b2da7d0710991a6f8cfc268ef2f71a505f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ifneq ($(KBUILD_SRC),)
ccflags-y += -I$(KBUILD_SRC)/arch/arm/plat-mxc/sdma/iapi/include \
                -I$(KBUILD_SRC)/include/linux \
                -DMCU -DOS=LINUX \
                -DL_I_T_T_L_E_ENDIAN=0 -DB_I_G_ENDIAN=1 \
                -DENDIANNESS=L_I_T_T_L_E_ENDIAN
else
ccflags-y += -Iarch/arm/plat-mxc/sdma/iapi/include \
                -Iinclude/linux \
                -DMCU -DOS=LINUX \
                -DL_I_T_T_L_E_ENDIAN=0 -DB_I_G_ENDIAN=1 \
                -DENDIANNESS=L_I_T_T_L_E_ENDIAN
endif

obj-y += dma_sdma.o
obj-$(CONFIG_MXC_SDMA_API)              += sdma.o
obj-$(CONFIG_MXC_SDMA_API)              += iapi/
obj-$(CONFIG_MXC_SDMA_API)              += sdma_malloc.o