OSDN Git Service

Don't include the build number in `toybox --version`.
authorElliott Hughes <enh@google.com>
Tue, 11 Jul 2017 00:14:20 +0000 (17:14 -0700)
committerElliott Hughes <enh@google.com>
Tue, 11 Jul 2017 00:16:35 +0000 (17:16 -0700)
This adds undesired noise to OTA packages, and isn't worth that cost.

Bug: http://b/63513984
Test: toybox --version
Change-Id: Ied2b55155411acb5e73d250c62a8f26d6fa02908

Android.mk

index c1d5959..f0cd500 100644 (file)
@@ -226,7 +226,7 @@ common_CFLAGS := \
 
 toybox_upstream_version := $(shell sed 's/#define.*TOYBOX_VERSION.*"\(.*\)"/\1/p;d' $(LOCAL_PATH)/main.c)
 
-toybox_version := $(toybox_upstream_version)-android-$(BUILD_NUMBER_FROM_FILE)
+toybox_version := $(toybox_upstream_version)-android
 
 toybox_common_libraries := liblog libcutils libcrypto libz