forked from openkylin/platform_build
am 83568a6d: Merge "Create OUT_DIR before writing build_number.txt."
* commit '83568a6d884f695854d5f7ffe79e465db061dcaa': Create OUT_DIR before writing build_number.txt.
This commit is contained in:
commit
c677675ccc
|
@ -124,7 +124,7 @@ ifneq ($(words $(BUILD_FINGERPRINT)),1)
|
|||
$(error BUILD_FINGERPRINT cannot contain spaces: "$(BUILD_FINGERPRINT)")
|
||||
endif
|
||||
|
||||
$(shell echo $(BUILD_FINGERPRINT) > $(PRODUCT_OUT)/build_fingerprint.txt)
|
||||
$(shell mkdir -p $(PRODUCT_OUT) && echo $(BUILD_FINGERPRINT) > $(PRODUCT_OUT)/build_fingerprint.txt)
|
||||
BUILD_FINGERPRINT_FROM_FILE := $$(cat $(PRODUCT_OUT)/build_fingerprint.txt)
|
||||
|
||||
# The string used to uniquely identify the system build; used by the OTA server.
|
||||
|
|
|
@ -96,7 +96,7 @@ include $(BUILD_SYSTEM)/config.mk
|
|||
# Write the build number to a file so it can be read back in
|
||||
# without changing the command line every time. Avoids rebuilds
|
||||
# when using ninja.
|
||||
$(shell echo -n $(BUILD_NUMBER) > $(OUT_DIR)/build_number.txt)
|
||||
$(shell mkdir -p $(OUT_DIR) && echo -n $(BUILD_NUMBER) > $(OUT_DIR)/build_number.txt)
|
||||
BUILD_NUMBER_FROM_FILE := $$(cat $(OUT_DIR)/build_number.txt)
|
||||
|
||||
# CTS-specific config.
|
||||
|
|
Loading…
Reference in New Issue