您的位置:首页 > 其它

学习资料整理

2011-03-07 17:04 381 查看
1. 把tst文件夹下datebase文件拷贝到build目录下

gsm2.mak文件中

# *************************************************************************

# Copy database to build directly

# *************************************************************************

@echo Copy database to build directly
@if exist $(strip $(TARGDIR))/$(strip $(BPLGUINFOCUSTOMSRCP)) (del $(strip $(TARGDIR))/$(strip $(BPLGUINFOCUSTOMSRCP)))
copy /Y $(strip $(TST_GEN_DEP_STP3_OUTS)) $(strip $(TARGDIR))/$(strip $(BPLGUINFOCUSTOMSRCP))
//以上为添加代码

# *************************************************************************
# FOTA Targets
# *************************************************************************
fota: $(FOTA_BIN_FILE) done

2. 修改datebase和bin文件的名称

# *************************************************************************
# Build path, directories
# *************************************************************************

# Do not support new mmi feature file architecture
OPTR_WARNING_DEF = $(strip $(FIXPATH))/operator/$(strip $(word 1,$(subst _, ,$(OPTR_SPEC))))/$(strip $(word 2,$(subst _, ,$(OPTR_SPEC))))/plutommi/operator_checklist.txt
PURE_VERNO = $(subst .,_, $(subst $(call Upper,$(strip $(CUSTOMER))).,, $(subst MAUI_SW.,, $(subst MAUI_SW.CLASSB.,, $(call Upper,$(VERNO))))))

FOTA_PURE_VERNO = $(subst .,_, $(subst $(call Upper,$(strip $(CUSTOMER))).,, $(subst MAUI.,, $(subst MAUI_SW.,, $(subst MAUI_SW.CLASSB.,, $(call Upper,$(VERNO)))))))
NEWTARGNAME = $(strip $(TARGNAME)).$(strip $(PURE_VERNO))

####把_$(strip $(PLATFORM))直接删除即可
####BPLGUINFOCUSTOMSRCP = BPLGUInfoCustomAppSrcP_$(strip $(PLATFORM))_$(strip $(CHIP_VER))_$(strip $(PURE_VERNO))
BPLGUINFOCUSTOMSRCP = BPLGUInfoCustomAppSrcP_$(strip $(CHIP_VER))_$(strip $(PURE_VERNO))

MMI_FEATURES_FILE = $(FIXPATH)/$(MMIDIR)/MMI/Inc/MMI_features.h
MMI_FEATURES_SWITCH_FILE = $(FIXPATH)/$(MMIDIR)/MMI/Inc/MMI_features_switch.h
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: