commit | 3f5f9934e9696df4483298ac9dc10e39868733d6 | [log] [tgz] |
---|---|---|
author | Patrick Tjin <pattjin@google.com> | Fri Mar 23 11:36:43 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Sun Apr 22 22:04:21 2018 -0700 |
tree | 65955b92af8e6b6b0dd07cf8ec6d754262e41c86 | |
parent | 388f1458a5a63a4c6d0b603185911bd1226dea25 [diff] |
build_image: default extfs reserved size to 0 on RO partitions. Defaults the reserved blocks for root to 0% on read only partitions (system, system_other, vendor, oem). It also adds support for explicitly specifying the extfs reserved percentage via BOARD_{SYSTEM,VENDOR,OEM,PRODUCT}IMAGE_EXTFS_RSV_PCT. This eventually translates down to the -m option for mkfs. Removing the reserved space can save at least 5% from the default. dumpe2fs system: Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) Bug: 75975085 Test: Build, verify reserved space is changed accordingly Change-Id: I212d82741908b636db0d658a1c4847bbaadfd5ba (cherry picked from commit 5ff758799c0ca8dda203107930d9cab2cc211b64)
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.