加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.config 913 Bytes
一键复制 编辑 原始数据 按行查看 历史
huyonghui 提交于 2018-05-30 11:38 . init repo
OS_VERSION := $(shell uname)
CROSS_COMPILE :=
WINE := wine
ifneq ($(filter MINGW%,$(OS_VERSION)),)
CROSS_COMPILE := win
WINE := $(SOURCE_DIR)/middleware/MTK/nbiot/tools/wine.bat
else
CROSS_COMPILE := linux
# backward compatible, will be phased out in the future.
ifeq ($(wildcard $(SOURCE_DIR)/tools/gcc/$(CROSS_COMPILE)/gcc-arm-none-eabi/bin),)
CROSS_COMPILE :=
endif
endif
BINPATH = $(SOURCE_DIR)/tools/gcc/$(CROSS_COMPILE)/gcc-arm-none-eabi/bin
ERR_LOG = $(OUTPATH)/err.log
BUILD_LOG = $(OUTPATH)/build.log
ifeq ($(BUILD_TYPE), boot_loader)
LD_FILES = xxx.ld
endif
ifeq ($(BUILD_TYPE), rtos_wo_fota)
LD_FILES = flash.ld
endif
ifeq ($(BUILD_TYPE), rtos_full_fota)
LD_FILES = flash.ld
endif
ifeq ($(BUILD_TYPE), rtos_separate_fota)
LD_FILES = flash.ld
SEPARATE_BUILD=1
SEPARATE_MBIN_LD=flash_mbin.ld
SEPARATE_UBIN_LD=flash_ubin.ld
endif
ifeq ($(BUILD_TYPE), ram_debug)
LD_FILES = ram.ld
endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化