xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/platform/plat_huanglong.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunifeq ($(CONFIG_PLATFORM_HUANGLONG), y)
2*4882a593Smuzhiyun# CONFIG_RTKM - n/m/y for not support / standalone / built-in
3*4882a593SmuzhiyunCONFIG_RTKM = m
4*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -fno-pic
5*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
6*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_RADIO_WORK
7*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_PLATFORM_HUANGLONG
10*4882a593Smuzhiyun#EXTRA_CFLAGS += -Wno-error=date-time
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun# CONFIG_RTW_ANDROID - 0: no Android, 4/5/6/7/8/9/10/11 : Android version
13*4882a593SmuzhiyunCONFIG_RTW_ANDROID = 11
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunifeq ($(shell test $(CONFIG_RTW_ANDROID) -gt 0; echo $$?), 0)
16*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_RTW_ANDROID=$(CONFIG_RTW_ANDROID)
17*4882a593Smuzhiyunendif
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunifeq ($(shell test $(CONFIG_RTW_ANDROID) -ge 11; echo $$?), 0)
20*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_IFACE_NUMBER=3
21*4882a593Smuzhiyun#EXTRA_CFLAGS += -DCONFIG_SEL_P2P_IFACE=1
22*4882a593Smuzhiyunendif
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunKSRC := $(LINUX_DIR)
25*4882a593SmuzhiyunARCH := $(CFG_SOCT_CPU_ARCH)
26*4882a593SmuzhiyunCROSS_CONPILE := $(SOCT_KERNEL_TOOLCHAINS_MAME)-
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunifeq ($(CONFIG_PCI_HCI), y)
30*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
31*4882a593Smuzhiyun_PLATFORM_FILES := platform/platform_linux_pc_pci.o
32*4882a593SmuzhiyunOBJS += $(_PLATFORM_FILES)
33*4882a593Smuzhiyun# Core Config
34*4882a593SmuzhiyunCONFIG_MSG_NUM = 128
35*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_MSG_NUM=$(CONFIG_MSG_NUM)
36*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_RXBUF_NUM_1024
37*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_TX_SKB_ORPHAN
38*4882a593SmuzhiyunEXTRA_CFLAGS += -DCONFIG_DIS_DYN_RXBUF
39*4882a593Smuzhiyun# PHL Config
40*4882a593SmuzhiyunEXTRA_CFLAGS += -DRTW_WKARD_98D_RXTAG
41*4882a593Smuzhiyunendif
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunendif
44