This repository has been archived by the owner on Dec 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
rtl8822b.mk
85 lines (73 loc) · 2.87 KB
/
rtl8822b.mk
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
RTL871X := rtl8822b
EXTRA_CFLAGS += -DCONFIG_RTL8822B
ifeq ($(CONFIG_USB_HCI), y)
ifeq ($(CONFIG_BT_COEXIST), n)
MODULE_NAME = 8812bu
else
MODULE_NAME = 88x2bu
endif
endif
ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME = 88x2be
endif
ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME = 88x2bs
endif
ifeq ($(CONFIG_MP_INCLUDED), y)
### 8822B Default Enable VHT MP HW TX MODE ###
#EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
#CONFIG_MP_VHT_HW_TX_MODE = y
endif
_HAL_HALMAC_FILES += hal/halmac/halmac_api.o
_HAL_HALMAC_FILES += hal/halmac/halmac_88xx/halmac_api_88xx.o \
hal/halmac/halmac_88xx/halmac_api_88xx_usb.o \
hal/halmac/halmac_88xx/halmac_api_88xx_sdio.o \
hal/halmac/halmac_88xx/halmac_api_88xx_pcie.o \
hal/halmac/halmac_88xx/halmac_func_88xx.o \
hal/halmac/halmac_88xx/halmac_gpio_88xx.o
_HAL_HALMAC_FILES += hal/halmac/halmac_88xx/halmac_8822b/halmac_8822b_phy.o \
hal/halmac/halmac_88xx/halmac_8822b/halmac_8822b_pwr_seq.o \
hal/halmac/halmac_88xx/halmac_8822b/halmac_api_8822b.o \
hal/halmac/halmac_88xx/halmac_8822b/halmac_api_8822b_pcie.o \
hal/halmac/halmac_88xx/halmac_8822b/halmac_api_8822b_sdio.o \
hal/halmac/halmac_88xx/halmac_8822b/halmac_api_8822b_usb.o \
hal/halmac/halmac_88xx/halmac_8822b/halmac_func_8822b.o \
hal/halmac/halmac_88xx/halmac_8822b/halmac_gpio_8822b.o
_HAL_INTFS_FILES += hal/hal_halmac.o
_HAL_INTFS_FILES += hal/rtl8822b/rtl8822b_halinit.o \
hal/rtl8822b/rtl8822b_mac.o \
hal/rtl8822b/rtl8822b_cmd.o \
hal/rtl8822b/rtl8822b_phy.o \
hal/rtl8822b/rtl8822b_ops.o \
hal/rtl8822b/hal8822b_fw.o
ifeq ($(CONFIG_USB_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822b/$(HCI_NAME)/rtl8822bu_halinit.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bu_halmac.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bu_io.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bu_xmit.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bu_recv.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bu_led.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bu_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822b/HalEfuseMask8822B_USB.o
endif
ifeq ($(CONFIG_PCI_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822b/$(HCI_NAME)/rtl8822be_halinit.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822be_halmac.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822be_io.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822be_xmit.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822be_recv.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822be_led.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822be_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822b/HalEfuseMask8822B_PCIE.o
endif
ifeq ($(CONFIG_SDIO_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822b/$(HCI_NAME)/rtl8822bs_halinit.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bs_halmac.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bs_io.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bs_xmit.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bs_recv.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bs_led.o \
hal/rtl8822b/$(HCI_NAME)/rtl8822bs_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822b/HalEfuseMask8822B_SDIO.o
endif
_HAL_INTFS_FILES += $(_HAL_HALMAC_FILES)