aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-05-06 22:42:02 -0700
committerNolen Johnson <johnsonnolen@gmail.com>2021-07-31 23:54:41 -0400
commit6060b5192acd85192009ddadfeb0e4161d688d45 (patch)
tree4351013c74e85bb63745507868c2ca03f171f3b9
parent7937d89cfef038fa5b29fe635761f8c33434544f (diff)
beckham: AB_OTA_UPDATER is BoardConfig variable
Bug: 130433003 Test: TreeHugger Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
-rw-r--r--BoardConfig.mk8
-rw-r--r--lineage_beckham.mk7
2 files changed, 8 insertions, 7 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index b40fbf3..55ee390 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -19,6 +19,14 @@
DEVICE_PATH := device/motorola/beckham
+# A/B updater
+AB_OTA_UPDATER := true
+
+AB_OTA_PARTITIONS += \
+ boot \
+ system \
+ vendor
+
# Assertions
TARGET_OTA_ASSERT_DEVICE := beckham
diff --git a/lineage_beckham.mk b/lineage_beckham.mk
index a4dc3c9..e57b8c2 100644
--- a/lineage_beckham.mk
+++ b/lineage_beckham.mk
@@ -26,13 +26,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk
$(call inherit-product, device/motorola/beckham/device.mk)
# A/B updater
-AB_OTA_UPDATER := true
-
-AB_OTA_PARTITIONS += \
- boot \
- system \
- vendor
-
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \