1 Star 0 Fork 1

release/rtl8821ce

forked from xkicdt/rtl8821ce 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
halmac.mk 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
Tomás Pinho 提交于 2019-08-06 00:09 . fix include paths
# All needed files would be added to _HAL_INTFS_FILES, and it would include
# hal/hal_halmac.c and all related files in directory hal/halmac/.
# Before include this makefile, be sure interface (CONFIG_*_HCI) and IC
# (CONFIG_RTL*) setting are all ready!
# Base directory
path_hm := $(topDIR)/hal/halmac
# Level 1 directory
path_hm_d1 := $(path_hm)/halmac_88xx
ifeq ($(CONFIG_PCI_HCI), y)
pci := y
endif
ifeq ($(CONFIG_SDIO_HCI), y)
sdio := y
endif
ifeq ($(CONFIG_USB_HCI), y)
usb := y
endif
ifeq ($(CONFIG_RTL8822B), y)
ic := 8822b
endif
ifeq ($(CONFIG_RTL8822C), y)
ic := 8822c
endif
ifeq ($(CONFIG_RTL8821C), y)
ic := 8821c
endif
ifeq ($(CONFIG_RTL8814B), y)
v1 := "_v1"
ic := 8814b
endif
halmac-y += $(path_hm)/halmac_api.o
# Modify level 1 directory if needed
path_hm_d1 := $(path_hm_d1)$(v1)
halmac-y += $(path_hm_d1)/halmac_bb_rf_88xx$(v1).o \
$(path_hm_d1)/halmac_cfg_wmac_88xx$(v1).o \
$(path_hm_d1)/halmac_common_88xx$(v1).o \
$(path_hm_d1)/halmac_efuse_88xx$(v1).o \
$(path_hm_d1)/halmac_flash_88xx$(v1).o \
$(path_hm_d1)/halmac_fw_88xx$(v1).o \
$(path_hm_d1)/halmac_gpio_88xx$(v1).o \
$(path_hm_d1)/halmac_init_88xx$(v1).o \
$(path_hm_d1)/halmac_mimo_88xx$(v1).o
halmac-$(pci) += $(path_hm_d1)/halmac_pcie_88xx$(v1).o
halmac-$(sdio) += $(path_hm_d1)/halmac_sdio_88xx$(v1).o
halmac-$(usb) += $(path_hm_d1)/halmac_usb_88xx$(v1).o
# Level 2 directory
path_hm_d2 := $(path_hm_d1)/halmac_$(ic)
halmac-y += $(path_hm_d2)/halmac_cfg_wmac_$(ic).o \
$(path_hm_d2)/halmac_common_$(ic).o \
$(path_hm_d2)/halmac_gpio_$(ic).o \
$(path_hm_d2)/halmac_init_$(ic).o \
$(path_hm_d2)/halmac_phy_$(ic).o \
$(path_hm_d2)/halmac_pwr_seq_$(ic).o
halmac-$(pci) += $(path_hm_d2)/halmac_pcie_$(ic).o
halmac-$(sdio) += $(path_hm_d2)/halmac_sdio_$(ic).o
halmac-$(usb) += $(path_hm_d2)/halmac_usb_$(ic).o
_HAL_INTFS_FILES += hal/hal_halmac.o
_HAL_INTFS_FILES += $(halmac-y)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chinaolysongbo/rtl8821ce.git
git@gitee.com:chinaolysongbo/rtl8821ce.git
chinaolysongbo
rtl8821ce
rtl8821ce
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385