From: Tao Bao Date: Tue, 7 May 2019 05:42:02 +0000 (-0700) Subject: exynos9610-common: AB_OTA_UPDATER is BoardConfig variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4597e8584919d4e1ff028d99ac5fee7d2a7f97af;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610-common: AB_OTA_UPDATER is BoardConfig variable Bug: 130433003 Test: TreeHugger Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd --- 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 \