diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-12 20:14:48 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-12 20:14:48 +0200 |
commit | cbea1e9852d6fa73ad34e8fb5177b4a5e7b0a668 (patch) | |
tree | 263b2315037faf8f0ff6b8ea1dbe2a134112f953 /core | |
parent | 615c221149e9bb27b06091843736aa4082c93ffb (diff) | |
download | build-replicant-6.0.zip build-replicant-6.0.tar.gz build-replicant-6.0.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>
Diffstat (limited to 'core')
-rw-r--r-- | core/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile index 0f67080..b4d478d 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)") |