import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / btif / mt8127 / Makefile
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.
4
5 include $(srctree)/drivers/misc/mediatek/Makefile.custom
6
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
9 obj-y += btif_hal.o
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.
13 else
14 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
15 PWD := $(shell pwd)
16 default:
17 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
18 endif