aboutsummaryrefslogtreecommitdiffstats
path: root/Changes.md
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-05-28 16:30:18 -0700
committerTao Bao <tbao@google.com>2019-05-29 11:38:16 -0700
commit84f88a473ad2d68c9cd5c90461e2c4b26e1b9bed (patch)
treec6fc139b4d5d4aba49681323d6ef7cc6f30bdce4 /Changes.md
parent2459515d3a17919a3f70d2ca2bc6f926e201323f (diff)
downloadplatform_build-84f88a473ad2d68c9cd5c90461e2c4b26e1b9bed.tar.gz
platform_build-84f88a473ad2d68c9cd5c90461e2c4b26e1b9bed.tar.bz2
platform_build-84f88a473ad2d68c9cd5c90461e2c4b26e1b9bed.zip
Obsolete PRODUCT_STATIC_BOOT_CONTROL_HAL.
Bug: 34254109 Test: TreeHugger Test: Define PRODUCT_STATIC_BOOT_CONTROL_HAL and see the expected failure after lunch. Change-Id: I914b84e874fe14a25dcfe56b282c56f88934d07c
Diffstat (limited to 'Changes.md')
-rw-r--r--Changes.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/Changes.md b/Changes.md
index 2cea334129..c40d5212df 100644
--- a/Changes.md
+++ b/Changes.md
@@ -1,5 +1,23 @@
# Build System Changes for Android.mk Writers
+## PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete {#PRODUCT_STATIC_BOOT_CONTROL_HAL}
+
+`PRODUCT_STATIC_BOOT_CONTROL_HAL` was the workaround to allow sideloading with
+statically linked boot control HAL, before shared library HALs were supported
+under recovery. Android Q has added such support (HALs will be loaded in
+passthrough mode), and the workarounds are being removed. Targets should build
+and install the recovery variant of boot control HAL modules into recovery
+image, similar to the ones installed for normal boot. See the change to
+crosshatch for example of this:
+
+* [device/google/crosshatch/bootctrl/Android.bp] for `bootctrl.sdm845` building
+ rules
+* [device/google/crosshatch/device.mk] for installing `bootctrl.sdm845.recovery`
+ and `android.hardware.boot@1.0-impl.recovery` into recovery image
+
+[device/google/crosshatch/bootctrl/Android.bp]: https://android.googlesource.com/device/google/crosshatch/+/master/bootctrl/Android.bp
+[device/google/crosshatch/device.mk]: https://android.googlesource.com/device/google/crosshatch/+/master/device.mk
+
## Deprecation of `BUILD_*` module types
See [build/make/Deprecation.md](Deprecation.md) for the current status.