commit | af49729c5abff296a857419e852d641c7299eb1e | [log] [tgz] |
---|---|---|
author | Alex Klein <saklein@google.com> | Wed Aug 07 09:56:52 2024 -0600 |
committer | Alex Klein <saklein@google.com> | Mon Aug 19 11:43:06 2024 -0600 |
tree | 8114904d84e24f740fe5afb26fe7b0352788f223 | |
parent | 104b7e496761849af2968e147923d1865aeb927c [diff] |
make/core/Makefile: Skip images for local builds by default. Packing and archiving the image are expensive operations. Swap the image archive to dist-files for builders, and skip building the raw image locally unless it's specifically requested via the new PHONY targets. Bug: None Test: m, m dist, m pack-image Change-Id: I2a3f1ebea689c23da88ca6d0757b827b7eb0c936
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.