fix bootctrl hal
[GitHub/moto-9609/twrp_device_motorola_troika.git] / device.mk
CommitLineData
1be74ca5 1
467c5ea6 2LOCAL_PATH := device/motorola/troika
1be74ca5 3
53a9f284 4# define hardware platform
467c5ea6 5PRODUCT_PLATFORM := exynos9610
53a9f284 6
41b3d004 7#TEST
53a9f284 8# A/B support
9PRODUCT_PACKAGES += \
10 otapreopt_script \
11 cppreopts.sh \
12 update_engine \
13 update_verifier
14
53a9f284 15AB_OTA_POSTINSTALL_CONFIG += \
16 RUN_POSTINSTALL_system=true \
17 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
18 FILESYSTEM_TYPE_system=ext4 \
19 POSTINSTALL_OPTIONAL_system=true
20
1be74ca5 21# Enable update engine sideloading by including the static version of the
22# boot_control HAL and its dependencies.
53a9f284 23PRODUCT_STATIC_BOOT_CONTROL_HAL := \
09f87414 24 bootctrl.exynos9610 \
53a9f284 25 libz \
26 libcutils
1be74ca5 27
53a9f284 28# Boot control HAL
29PRODUCT_PACKAGES += \
09f87414 30 bootctrl.exynos9610
41b3d004 31
32
33