commit | af670812184d212fba072efb8a15cacbdf5a11a3 | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Mon Oct 12 11:31:35 2020 -0700 |
committer | Daniel Norman <danielnorman@google.com> | Mon Oct 12 11:45:48 2020 -0700 |
tree | a09526e630a94ee9c7d8d71eaa114f56bd36b7ac | |
parent | 9b7cce9417f7db84559114a95e1d1a264d00b79e [diff] |
Builds boot-debug.img if INSTALLED_BOOTIMAGE_TARGET. This causes boot-debug.img to build if its main dependency INSTALLED_BOOTIMAGE_TARGET (boot.img) is defined. This fixes an issue where boot-debug.img was missing when BUILDING_BOOT_IMAGE=false, but boot.img exists because the board uses recovery as boot. Bug: 170644849 Test: Build target that sets PRODUCT_BUILD_BOOT_IMAGE and PRODUCT_BUILD_RECOVERY_IMAGE false, observe no boot-debug.img. Test: Build target that sets BOARD_USES_RECOVERY_AS_BOOT, observe boot-debug.img. Change-Id: Ic887ea93d4c5181eca0f82c3cdf3ce3b72f4c185
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.