From 4597e8584919d4e1ff028d99ac5fee7d2a7f97af Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 6 May 2019 22:42:02 -0700 Subject: [PATCH] exynos9610-common: AB_OTA_UPDATER is BoardConfig variable Bug: 130433003 Test: TreeHugger Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd --- BoardConfigCommon.mk | 10 ++++++++++ common.mk | 9 --------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index bca5d42..8fd0c0d 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -29,6 +29,16 @@ TARGET_BOARD_PLATFORM := exynos9610 TARGET_SOC := exynos9610 TARGET_BOOTLOADER_BOARD_NAME := exynos9610 +# A/B +AB_OTA_UPDATER := true + +AB_OTA_PARTITIONS += \ + boot \ + dtbo \ + system \ + vbmeta \ + vendor + # Architecture TARGET_ARCH := arm64 TARGET_ARCH_VARIANT := armv8-a diff --git a/common.mk b/common.mk index 838df88..a64420a 100644 --- a/common.mk +++ b/common.mk @@ -29,15 +29,6 @@ PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \ $(COMMON_PATH)/overlay/lineage-sdk # A/B -AB_OTA_UPDATER := true - -AB_OTA_PARTITIONS += \ - boot \ - dtbo \ - system \ - vbmeta \ - vendor - AB_OTA_POSTINSTALL_CONFIG += \ RUN_POSTINSTALL_system=true \ POSTINSTALL_PATH_system=system/bin/otapreopt_script \ -- 2.20.1