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