1 # BTIF HAL driver for MT6582
2 # If KERNELRELEASE is defined, we've been invoked from the
3 # kernel build system and can use its language.
5 include $(srctree
)/drivers
/misc
/mediatek
/Makefile.custom
7 ifneq ($(KERNELRELEASE
),)
8 ccflags-y
+= -I
$(src
)/inc
-I
$(srctree
)/arch
/arm
/mach-
$(MTK_PLATFORM
)/include/mach
-I
$(srctree
)/drivers
/misc
/mediatek
/btif
/hal_inc
10 btif_hal-y
+= hal_btif.o hal_btif_dma.o
11 # Otherwise we were called directly from the command
12 # line; invoke the kernel build system.
14 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
17 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules