Compile update_engine_sideload as a static recovery program.
This patch converts update_engine_sideload to a statically linked program and installs it in the recovery image. The resulting program uses a statically linked boot_control HAL instead of relying in libhardware to dynamically load it. The static library or libraries needed for the boot_control HAL need to be specified by the product with the new make variable PRODUCT_STATIC_BOOT_CONTROL_HAL. Otherwise, a stub implementation is included and update_engine_sideload will fail at runtime. Bug: 27178350 TEST=`make dist` builds a recovery image with update_engine_sideload in it. (cherry picked from commit 44348e01) Change-Id: I34fd1514eecbb2ddd89802891ea606418f28a60f
Loading
Please sign in to comment