auto import from //branches/cupcake/...@127436
This commit is contained in:
parent
ed18741e07
commit
35cfb08c58
2 changed files with 7 additions and 18 deletions
|
@ -75,6 +75,9 @@ $(INSTALLED_BUILD_PROP_TARGET): PRIVATE_BUILD_DESC := $(build_desc)
|
||||||
ifeq (,$(strip $(BUILD_FINGERPRINT)))
|
ifeq (,$(strip $(BUILD_FINGERPRINT)))
|
||||||
BUILD_FINGERPRINT := $(PRODUCT_BRAND)/$(TARGET_PRODUCT)/$(TARGET_DEVICE)/$(TARGET_BOOTLOADER_BOARD_NAME):$(PLATFORM_VERSION)/$(BUILD_ID)/$(BUILD_NUMBER):$(TARGET_BUILD_VARIANT)/$(BUILD_VERSION_TAGS)
|
BUILD_FINGERPRINT := $(PRODUCT_BRAND)/$(TARGET_PRODUCT)/$(TARGET_DEVICE)/$(TARGET_BOOTLOADER_BOARD_NAME):$(PLATFORM_VERSION)/$(BUILD_ID)/$(BUILD_NUMBER):$(TARGET_BUILD_VARIANT)/$(BUILD_VERSION_TAGS)
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(words $(BUILD_FINGERPRINT)),1)
|
||||||
|
$(error BUILD_FINGERPRINT cannot contain spaces: "$(BUILD_FINGERPRINT)")
|
||||||
|
endif
|
||||||
|
|
||||||
# Selects the first locale in the list given as the argument,
|
# Selects the first locale in the list given as the argument,
|
||||||
# and splits it into language and region, which each may be
|
# and splits it into language and region, which each may be
|
||||||
|
@ -810,8 +813,8 @@ define package_files-copy-root
|
||||||
endef
|
endef
|
||||||
|
|
||||||
built_ota_tools := \
|
built_ota_tools := \
|
||||||
$(hide) $(ACP) $(call intermediates-dir-for,EXECUTABLES,applypatch)/applypatch \
|
$(call intermediates-dir-for,EXECUTABLES,applypatch)/applypatch \
|
||||||
$(hide) $(ACP) $(call intermediates-dir-for,EXECUTABLES,check_prereq)/check_prereq
|
$(call intermediates-dir-for,EXECUTABLES,check_prereq)/check_prereq
|
||||||
$(BUILT_TARGET_FILES_PACKAGE): PRIVATE_OTA_TOOLS := $(built_ota_tools)
|
$(BUILT_TARGET_FILES_PACKAGE): PRIVATE_OTA_TOOLS := $(built_ota_tools)
|
||||||
|
|
||||||
# Depending on the various images guarantees that the underlying
|
# Depending on the various images guarantees that the underlying
|
||||||
|
|
18
core/main.mk
18
core/main.mk
|
@ -361,22 +361,8 @@ include $(board_config_mk)
|
||||||
TARGET_DEVICE_DIR := $(patsubst %/,%,$(dir $(board_config_mk)))
|
TARGET_DEVICE_DIR := $(patsubst %/,%,$(dir $(board_config_mk)))
|
||||||
board_config_mk :=
|
board_config_mk :=
|
||||||
|
|
||||||
ifdef CUSTOM_PKG
|
# Clean up/verify variables defined by the board config file.
|
||||||
$(info ***************************************************************)
|
TARGET_BOOTLOADER_BOARD_NAME := $(strip $(TARGET_BOOTLOADER_BOARD_NAME))
|
||||||
$(info ***************************************************************)
|
|
||||||
$(info CUSTOM_PKG is obsolete; use CUSTOM_MODULES)
|
|
||||||
$(info ***************************************************************)
|
|
||||||
$(info ***************************************************************)
|
|
||||||
$(error stopping)
|
|
||||||
endif
|
|
||||||
ifdef CUSTOM_TARGETS
|
|
||||||
$(info ***************************************************************)
|
|
||||||
$(info ***************************************************************)
|
|
||||||
$(info CUSTOM_TARGETS is obsolete; use CUSTOM_MODULES)
|
|
||||||
$(info ***************************************************************)
|
|
||||||
$(info ***************************************************************)
|
|
||||||
$(error stopping)
|
|
||||||
endif
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Include all of the makefiles in the system
|
# Include all of the makefiles in the system
|
||||||
|
|
Loading…
Reference in a new issue