commit | 1ef03e2b79cbf307ea5e6d5683738b541f330583 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Aug 30 13:11:47 2018 -0700 |
committer | David Anderson <dvander@google.com> | Thu Aug 30 16:02:23 2018 -0700 |
tree | 6c25905d40c356ab09a4347189be73220109d64f | |
parent | acdaa8fbacc6338e7e1aa3a0edd0feaa9d9e8b57 [diff] |
Add super_empty.img to target-files and the update package. super_empty.img is needed for "fastboot update" to work, as such, it must be included in the update package. This change adds lpmake parameters to misc_info.txt for add_img_to_target_files.py, and ensures that lpmake is packaged with otatools.zip. The build-superimage-target macro is now split into two functions - one to generate the device-specific arguments, and another to build the full command-line for convenience. The former is used to pass arguments directly to add_img_to_target_files. Bug: 113524256 Test: make updatepackage builds and includes super_empty.img make otatools includes lpmake Change-Id: I25091c964b036beeea2a8b8f738e2c18937c1eb4
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.