代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。