1 Star 0 Fork 13

resetlove/wm-sdk-w80x

forked from IOsetting/wm-sdk-w80x 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 2.43 KB
一键复制 编辑 原始数据 按行查看 历史
IOsetting 提交于 2021-12-01 01:00 . Initial commit
TOP_DIR := .
sinclude $(TOP_DIR)/tools/w800/conf.mk
ifndef PDIR # {
GEN_IMAGES= $(TARGET).elf
GEN_BINS = $(TARGET).bin
SUBDIRS = \
$(TOP_DIR)/app \
$(TOP_DIR)/demo
endif # } PDIR
ifndef PDIR # {
ifeq ($(USE_LIB), 0)
SUBDIRS += \
$(TOP_DIR)/platform/arch \
$(TOP_DIR)/platform/common \
$(TOP_DIR)/platform/drivers \
$(TOP_DIR)/platform/sys \
$(TOP_DIR)/src/network \
$(TOP_DIR)/src/os \
$(TOP_DIR)/src/app
ifeq ($(USE_NIMBLE), 1)
SUBDIRS += \
$(TOP_DIR)/src/bt/blehost
else
SUBDIRS += \
$(TOP_DIR)/src/bt/host
endif
endif
endif
COMPONENTS_$(TARGET) = \
$(TOP_DIR)/app/libuser$(LIB_EXT) \
$(TOP_DIR)/demo/libdemo$(LIB_EXT)
ifeq ($(USE_LIB), 0)
COMPONENTS_$(TARGET) += \
$(TOP_DIR)/platform/boot/libwmarch$(LIB_EXT) \
$(TOP_DIR)/platform/common/libwmcommon$(LIB_EXT) \
$(TOP_DIR)/platform/drivers/libdrivers$(LIB_EXT) \
$(TOP_DIR)/platform/sys/libwmsys$(LIB_EXT) \
$(TOP_DIR)/src/network/libnetwork$(LIB_EXT) \
$(TOP_DIR)/src/os/libos$(LIB_EXT) \
$(TOP_DIR)/src/app/libapp$(LIB_EXT)
ifeq ($(USE_NIMBLE), 1)
COMPONENTS_$(TARGET) += \
$(TOP_DIR)/src/bt/libblehost$(LIB_EXT)
else
COMPONENTS_$(TARGET) += \
$(TOP_DIR)/src/bt/libbthost$(LIB_EXT)
endif
endif
LINKLIB = \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libwlan$(LIB_EXT) \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libbtcontroller$(LIB_EXT) \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libdsp$(LIB_EXT)
ifeq ($(USE_LIB), 1)
LINKLIB += \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libapp$(LIB_EXT) \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libwmarch$(LIB_EXT) \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libwmcommon$(LIB_EXT) \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libdrivers$(LIB_EXT) \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libnetwork$(LIB_EXT) \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libos$(LIB_EXT) \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libwmsys$(LIB_EXT)
ifeq ($(USE_NIMBLE), 1)
LINKLIB += \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libblehost$(LIB_EXT)
else
LINKLIB += \
$(TOP_DIR)/lib/$(CONFIG_ARCH_TYPE)/libbthost$(LIB_EXT)
endif
endif
LINKFLAGS_$(TARGET) = \
$(LINKLIB)
CONFIGURATION_DEFINES =
DEFINES += \
$(CONFIGURATION_DEFINES)
DDEFINES += \
$(CONFIGURATION_DEFINES)
INCLUDES := $(INCLUDES) -I$(PDIR)include
INCLUDES += -I ./
sinclude $(TOP_DIR)/tools/$(CONFIG_ARCH_TYPE)/rules.mk
.PHONY: FORCE
FORCE:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/resetlove/wm-sdk-w80x.git
git@gitee.com:resetlove/wm-sdk-w80x.git
resetlove
wm-sdk-w80x
wm-sdk-w80x
master

搜索帮助