summaryrefslogtreecommitdiff
path: root/sdm660_64.mk
diff options
context:
space:
mode:
authorArusha Goyal <arushag@codeaurora.org>2017-05-19 11:17:06 +0530
committerArusha Goyal <arushag@codeaurora.org>2017-07-23 17:41:57 +0530
commit0810f45824981604d932600ea4739ad26a4f595d (patch)
tree9303ab0ab347ec7cb41eff7f68de89adc97ee410 /sdm660_64.mk
parent9a1b8b4bf9ecd2f7849a5f57ddcc194ce692b37f (diff)
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
Diffstat (limited to 'sdm660_64.mk')
-rw-r--r--sdm660_64.mk5
1 files changed, 5 insertions, 0 deletions
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 \