mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-09-03 21:49:43 +00:00
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Component Makefile
|
|
#
|
|
## These include paths would be exported to project level
|
|
COMPONENT_ADD_INCLUDEDIRS += bl60x_wifi_driver/include
|
|
|
|
## not be exported to project level
|
|
COMPONENT_PRIV_INCLUDEDIRS := bl60x_wifi_driver
|
|
|
|
## This component's src
|
|
COMPONENT_SRCS := bl60x_wifi_driver/ipc_host.c \
|
|
bl60x_wifi_driver/os_hal.c \
|
|
bl60x_wifi_driver/bl_apis.c \
|
|
bl60x_wifi_driver/bl_cmds.c \
|
|
bl60x_wifi_driver/bl_irqs.c \
|
|
bl60x_wifi_driver/bl_main.c \
|
|
bl60x_wifi_driver/bl_mod_params.c \
|
|
bl60x_wifi_driver/bl_msg_rx.c \
|
|
bl60x_wifi_driver/bl_msg_tx.c \
|
|
bl60x_wifi_driver/bl_platform.c \
|
|
bl60x_wifi_driver/bl_rx.c \
|
|
bl60x_wifi_driver/bl_strs.c \
|
|
bl60x_wifi_driver/bl_tx.c \
|
|
bl60x_wifi_driver/bl_utils.c \
|
|
bl60x_wifi_driver/stateMachine.c \
|
|
bl60x_wifi_driver/wifi.c \
|
|
bl60x_wifi_driver/wifi_mgmr.c \
|
|
bl60x_wifi_driver/wifi_mgmr_api.c \
|
|
bl60x_wifi_driver/wifi_mgmr_cli.c \
|
|
bl60x_wifi_driver/wifi_mgmr_ext.c \
|
|
bl60x_wifi_driver/wifi_mgmr_profile.c \
|
|
bl60x_wifi_driver/wifi_netif.c \
|
|
bl60x_wifi_driver/wifi_mgmr_event.c
|
|
|
|
COMPONENT_OBJS := $(patsubst %.c,%.o, $(COMPONENT_SRCS))
|
|
|
|
COMPONENT_SRCDIRS := bl60x_wifi_driver
|
|
|
|
ifeq ($(CONFIG_BL_IOT_FW_AP),1)
|
|
CPPFLAGS += -DCFG_STA_MAX="10"
|
|
else
|
|
CPPFLAGS += -DCFG_STA_MAX="1"
|
|
endif
|
|
|
|
|
|
##
|
|
#CPPFLAGS +=
|