forked from libc0607/rtl88x2eu-20230815
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrtl8822e.mk
58 lines (49 loc) · 1.92 KB
/
rtl8822e.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
EXTRA_CFLAGS += -DCONFIG_RTL8822E
ifeq ($(CONFIG_MP_INCLUDED), y)
### 8822E Default Enable VHT MP HW TX MODE ###
#EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
#CONFIG_MP_VHT_HW_TX_MODE = y
endif
_HAL_INTFS_FILES += hal/rtl8822e/rtl8822e_halinit.o \
hal/rtl8822e/rtl8822e_mac.o \
hal/rtl8822e/rtl8822e_cmd.o \
hal/rtl8822e/rtl8822e_phy.o \
hal/rtl8822e/rtl8822e_ops.o \
hal/rtl8822e/hal8822e_fw.o
ifeq ($(CONFIG_USB_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822e/$(HCI_NAME)/rtl8822eu_halinit.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822eu_halmac.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822eu_io.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822eu_xmit.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822eu_recv.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822eu_led.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822eu_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822e/HalEfuseMask8822E_USB.o
endif
ifeq ($(CONFIG_PCI_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822e/$(HCI_NAME)/rtl8822ee_halinit.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822ee_halmac.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822ee_io.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822ee_xmit.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822ee_recv.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822ee_led.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822ee_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822e/HalEfuseMask8822E_PCIE.o
endif
ifeq ($(CONFIG_SDIO_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822e/$(HCI_NAME)/rtl8822es_halinit.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822es_halmac.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822es_io.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822es_xmit.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822es_recv.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822es_led.o \
hal/rtl8822e/$(HCI_NAME)/rtl8822es_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822e/HalEfuseMask8822E_SDIO.o
_HAL_INTFS_FILES +=hal/hal_hci/hal_sdio_coex.o
endif
include $(src)/halmac.mk
_BTC_FILES += hal/btc/halbtc8822ewifionly.o
ifeq ($(CONFIG_BT_COEXIST), y)
_BTC_FILES += hal/btc/halbtccommon.o \
hal/btc/halbtc8822e.o
endif