From 0810f45824981604d932600ea4739ad26a4f595d Mon Sep 17 00:00:00 2001 From: Arusha Goyal Date: Fri, 19 May 2017 11:17:06 +0530 Subject: Support the combinations of A/B and split. This change introduces compile time flags based on which we can build combinations of A/B and split features. Based on the flags, appropriate settings are done in mk files, and appropriate fstab.qcom/recovery.fstab are picked. Change-Id: I55cbec9c280f95b043f31b833aef11c2cbe4ab00 --- sdm660_64.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sdm660_64.mk') diff --git a/sdm660_64.mk b/sdm660_64.mk index f650924..f8c7a34 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -9,6 +9,9 @@ ifeq ($(ENABLE_VENDOR_IMAGE),) ENABLE_VENDOR_IMAGE := true endif +# Default A/B configuration. +ENABLE_AB ?= true + # Disable QTIC until it's brought up in split system/vendor # configuration to avoid compilation breakage. ifeq ($(ENABLE_VENDOR_IMAGE), true) @@ -231,6 +234,7 @@ PRODUCT_PACKAGES += \ wificond \ wifilogd +ifeq ($(ENABLE_AB), true) #A/B related packages PRODUCT_PACKAGES += update_engine \ update_engine_client \ @@ -242,6 +246,7 @@ PRODUCT_PACKAGES += update_engine \ #Boot control HAL test app PRODUCT_PACKAGES_DEBUG += bootctl +endif #Healthd packages PRODUCT_PACKAGES += android.hardware.health@1.0-impl \ -- cgit v1.2.3