diff options
| author | Alex Deymo <deymo@google.com> | 2016-08-01 16:25:08 -0700 |
|---|---|---|
| committer | Alex Deymo <deymo@google.com> | 2016-08-01 16:25:08 -0700 |
| commit | 8352159ddb0cced7075dbf8310ab621d28859fac (patch) | |
| tree | 430c137020e3dcc26fa0064c1b5d48b85369d232 | |
| parent | 2a276b35e001423d09ac9d81fea6adb40f60ab98 (diff) | |
| download | platform_hardware_qcom_bootctrl-nougat-mr1.2-release.tar.gz platform_hardware_qcom_bootctrl-nougat-mr1.2-release.tar.bz2 platform_hardware_qcom_bootctrl-nougat-mr1.2-release.zip | |
Build a static copy of bootctrl for recovery.android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-dr1-release
When accesing the boot_control HAL from recovery, we need to use a
static version of it since we can't dynamically load a HAL from
recovery. This patch adds the require bootctrl module that will be used
by update_engine_sideload.
Bug: 27178350
TEST=Built update_engine_sideload with this library.
Change-Id: I8aee9e35436cbe161761fcb79d8a74098ec6501b
| -rw-r--r-- | Android.mk | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,7 @@ ifneq ($(filter msm8996,$(TARGET_BOARD_PLATFORM)),) LOCAL_PATH := $(call my-dir) + +# HAL Shared library for the target. Used by libhardware. include $(CLEAR_VARS) LOCAL_C_INCLUDES += hardware/libhardware/include LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc @@ -9,4 +11,15 @@ LOCAL_SRC_FILES := boot_control.cpp LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM) include $(BUILD_SHARED_LIBRARY) + +# Static library for the target. Used by update_engine_sideload from recovery. +include $(CLEAR_VARS) +LOCAL_C_INCLUDES += hardware/libhardware/include +LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc +LOCAL_CFLAGS += -Wall -Werror +LOCAL_SHARED_LIBRARIES += liblog librecovery_updater_msm libcutils +LOCAL_SRC_FILES := boot_control.cpp +LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM) +include $(BUILD_STATIC_LIBRARY) + endif |
