summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-12 18:14:48 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-02 17:17:59 (GMT)
commitc090ab9e2d03975559587a0878f5b4276b74d0fd (patch)
tree1b40cb9f82185ae8a92065089766c47fb484803c
parenta4b6a4ebc8e8602b88005785e1ab24d5671bdcc9 (diff)
downloadbuild-c090ab9e2d03975559587a0878f5b4276b74d0fd.zip
build-c090ab9e2d03975559587a0878f5b4276b74d0fd.tar.gz
build-c090ab9e2d03975559587a0878f5b4276b74d0fd.tar.bz2
Shorten the build fingerprintHEADreplicant-6.0
It can exceed its maximum length for devices with longer codenames (e.g. espressowifi). PRODUCT_BRAND is set to "Android" which doesn't say much and TARGET_VENDOR_DEVICE_NAME should always have the same codename that is already set in the build target TARGET_VENDOR_PRODUCT_NAME, so no information is lost. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index 737c95e..5d62a18 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -151,7 +151,7 @@ ifeq (,$(strip $(BUILD_FINGERPRINT)))
else
BF_BUILD_NUMBER := $(BUILD_NUMBER)
endif
- BUILD_FINGERPRINT := $(PRODUCT_BRAND)/$(TARGET_VENDOR_PRODUCT_NAME)/$(TARGET_VENDOR_DEVICE_NAME):$(PLATFORM_VERSION)/$(BUILD_ID)/$(TARGET_VENDOR_RELEASE_BUILD_ID):$(TARGET_BUILD_VARIANT)/$(BUILD_VERSION_TAGS)
+ BUILD_FINGERPRINT := $(TARGET_VENDOR_PRODUCT_NAME):$(PLATFORM_VERSION)/$(BUILD_ID)/$(TARGET_VENDOR_RELEASE_BUILD_ID):$(TARGET_BUILD_VARIANT)/$(BUILD_VERSION_TAGS)
endif
ifneq ($(words $(BUILD_FINGERPRINT)),1)
$(error BUILD_FINGERPRINT cannot contain spaces: "$(BUILD_FINGERPRINT)")