客制化系统版本号
--- a/alps/build/core/Makefile
+++ b/alps/build/core/Makefile
@@ -178,13 +178,25 @@ ifeq ($(TARGET_BUILD_VARIANT),user)
# Dev. branches should have DISPLAY_BUILD_NUMBER set
ifeq "true" "$(DISPLAY_BUILD_NUMBER)"
- BUILD_DISPLAY_ID := $(BUILD_ID).$(BUILD_NUMBER_FROM_FILE) $(BUILD_KEYS)
+ # modified for build number at 20170303
+ ifeq ($(BUILD_NUMBER_VERSION),no)
+ BUILD_DISPLAY_ID := $(BUILD_ID).$(BUILD_NUMBER) $(BUILD_KEYS)
+ endif
+ # add end
else
- BUILD_DISPLAY_ID := $(BUILD_ID) $(BUILD_KEYS)
+ #modified for build number at 20170303
+ ifeq ($(BUILD_NUMBER_VERSION),no)
+ BUILD_DISPLAY_ID := $(BUILD_ID) $(BUILD_KEYS)
+ endif
+ # add end
endif
else
# Non-user builds should show detailed build information
- BUILD_DISPLAY_ID := $(build_desc)
+ #modified for build number at 20170303
+ ifeq ($(BUILD_NUMBER_VERSION),no)
+ BUILD_DISPLAY_ID := $(build_desc)
+ endif
+ # add end
endif
# Accepts a whitespace separated list of product locales such as
--- a/alps/device/along/common/ProjectConfig.mk
+++ b/alps/device/along/common/ProjectConfig.mk
@@ -159,5 +159,6 @@ KCM_DATACONNECTON_SUPPORT=no
\ No newline at end of file
+#KCMar 20160721 for settings->about phone->Build number 修改系统版本号^M
+#if set BUILD_NUMBER_VERSION=yes also need set BUILD_DISPLAY_ID=xxx in sub projectconfig.xml^M
+BUILD_NUMBER_VERSION=no
\ No newline at end of file
1485



被折叠的 条评论
为什么被折叠?



