Merge "TARGET_RECOVERY_UPDATER_LIBS should not be used with AB updates" am: 81648927fb

am: ce324c6848

Change-Id: I1260ea1bba7de40cb0f9a3661f281406f48cd708
This commit is contained in:
Dan Willemsen 2017-01-05 22:51:44 +00:00 committed by android-build-merger
commit cb43c0f8db
1 changed files with 9 additions and 1 deletions

View File

@ -188,7 +188,15 @@ else ifdef BOARD_USES_VENDORIMAGE
$(error TARGET_COPY_OUT_VENDOR must be set to 'vendor' to use a vendor image) $(error TARGET_COPY_OUT_VENDOR must be set to 'vendor' to use a vendor image)
endif endif
########################################### ###########################################
# Ensure that only TARGET_RECOVERY_UPDATER_LIBS *or* AB_OTA_UPDATER is set.
TARGET_RECOVERY_UPDATER_LIBS ?=
AB_OTA_UPDATER ?=
.KATI_READONLY := TARGET_RECOVERY_UPDATER_LIBS AB_OTA_UPDATER
ifeq ($(AB_OTA_UPDATER),true)
ifneq ($(strip $(TARGET_RECOVERY_UPDATER_LIBS)),)
$(error Do not use TARGET_RECOVERY_UPDATER_LIBS when using AB_OTA_UPDATER)
endif
endif
# --------------------------------------------------------------- # ---------------------------------------------------------------
# Set up configuration for target machine. # Set up configuration for target machine.