summaryrefslogtreecommitdiff
path: root/AndroidBoard.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 /AndroidBoard.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 'AndroidBoard.mk')
-rwxr-xr-xAndroidBoard.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/AndroidBoard.mk b/AndroidBoard.mk
index 62aecc4..baf23b9 100755
--- a/AndroidBoard.mk
+++ b/AndroidBoard.mk
@@ -65,7 +65,11 @@ include $(CLEAR_VARS)
LOCAL_MODULE := fstab.qcom
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
+ifeq ($(ENABLE_AB), true)
+LOCAL_SRC_FILES := fstab_AB_variant.qcom
+else
+LOCAL_SRC_FILES := fstab_non_AB_variant.qcom
+endif
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)
include $(BUILD_PREBUILT)