diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-12 20:14:48 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-01-02 18:17:59 +0100 |
commit | c090ab9e2d03975559587a0878f5b4276b74d0fd (patch) | |
tree | 1b40cb9f82185ae8a92065089766c47fb484803c | |
parent | a4b6a4ebc8e8602b88005785e1ab24d5671bdcc9 (diff) | |
download | build-c090ab9e2d03975559587a0878f5b4276b74d0fd.tar.gz build-c090ab9e2d03975559587a0878f5b4276b74d0fd.tar.bz2 build-c090ab9e2d03975559587a0878f5b4276b74d0fd.zip |
Shorten the build fingerprintreplicant-6.0-0004-rc2replicant-6.0-0004-rc1
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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile index 737c95ef3..5d62a18d3 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)") |