commit | 619fe2da5ad8898704fcbb8a6fde966409bcbb1d | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Tue Oct 30 18:47:59 2018 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Nov 12 16:12:51 2018 -0800 |
tree | 998fdfdbddbe6752d0376af9d2132aa76b7c5b16 | |
parent | c5c0124e7d2ef5ee89242a67fe6fb173d36708e4 [diff] |
Add build flags for spanning the super partition across multiple block devices. This adds BOARD_SUPER_PARTITION_BLOCK_DEVICES, which must contain a list of the (non-A/B suffixed) partitions that will comprise the super partition. It is only intended for devices which cannot have a partition named "super". For each entry, there must be a BOARD_SUPER_PARTITION_x_DEVICE_SIZE variable defined with the exact size of that partition (not its image size). The sum of these sizes must be equal to BOARD_SUPER_PARTITION_SIZE. Bug: 116802789 Test: device with BOARD_SUPER_PARTITION_BLOCK_DEVICES builds Change-Id: I1a79c2e08ca99ce7e42207893ef3285caffecf44
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.