commit | b781a0806b2c8a84450c31003cecd1b8662d1112 | [log] [tgz] |
---|---|---|
author | Mattijs Korpershoek <mkorpershoek@baylibre.com> | Mon Sep 30 13:40:38 2024 +0200 |
committer | Mattijs Korpershoek <mkorpershoek@baylibre.com> | Mon Sep 30 13:52:17 2024 +0200 |
tree | 087cbb8f1026439014bbda5878f594abc462e42a | |
parent | 0cfc261cecfa6b586d872434100d01039c8bf610 [diff] |
yukawa: Set BOARD_INCLUDE_RECOVERY_DTBO := true to fix build break When building yukawa, we can see: FAILED: ninja: 'out/host/linux-x86/bin/imgdiff', needed by 'out/target/product/yukawa/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p', missing and no known rule to make it 11:48:53 ninja failed with: exit status 1 imgdiff has been removed from Android [1], however it's still mentioned as diff_tool in build/make/core/Makefile. It's only used when BOARD_INCLUDE_RECOVERY_DTBO is not set. When it's set, we use bsdiff instead. Since we are non A/B on Yukawa, we *must* set BOARD_INCLUDE_RECOVERY_DTBO := true according to [2] Set it to true fixes the build issue. [1] https://android-review.googlesource.com/c/platform/bootable/recovery/+/2962986 [2] https://source.android.com/docs/core/architecture/bootloader/recovery-images#dtbo-implementation Test: m Change-Id: Icd8b818f37a23dcec5d1487b97697e1f054c55fe Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>