hc
2023-08-30 862c27fc9920c83318c784bfdadf43a65df1ec8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# SPDX-License-Identifier: GPL-2.0
 
# ccflags-y += -DDEBUG
# ccflags-y += -DKERNEL_VERSION_414
PWD := $(shell pwd)
CURFOLDER ?= $(pwd)
 
ccflags-y += -I$(srctree)/drivers/net/wireless/uwe5622/sprdwcn/include
ccflags-y += -I$(CURFOLDER)/include
ccflags-y += -DUSE_DTS -Wno-unused-variable
ccflags-y +=  -Wno-uninitialized
 
UNISOC_BSP_INCLUDE := $(srctree)/drivers/net/wireless/rockchip_wlan/uwe5621ds/unisocwcn/include
ifneq ($(UNISOC_BSP_INCLUDE),)
ccflags-y += -I$(UNISOC_BSP_INCLUDE)
endif
 
#ccflags-y += -DWOBLE_TYPE="\"disable\""
ccflags-y += -DWOBLE_TYPE="\"demo\""
#ccflags-y += -DUNISOC_AMLOGIC_SUSPEND
 
# support assert bt reset
# ccflags-y += -DCP2_RESET_SUPPORT
 
sprdbt_tty-objs := \
   tty.o \
   rfkill.o \
   lpm.o \
   debug.o \
   sdio.o \
   sitm.o \
   hci.o \
   debug.o
 
obj-m += sprdbt_tty.o