commit | fa8193c0e9e3bb3f22a2078744eb95182ebcfd13 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Fri Sep 24 15:49:00 2021 +0200 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Mon Oct 04 11:41:34 2021 +0200 |
tree | d3d46374a02e9819f9b9e0d6a62993ad173962b5 | |
parent | 88648d33c93715ec83b7c16b875fb33b38a539d6 [diff] |
Add framework for building the pvmfw.img partition Adapt the variables necessary for building pvmfw.img by following what was done for other Android partitions and introducing: - PRODUCT_BUILD_PVMFW_IMAGE - BUILDING_PVMFW_IMAGE - BUILT_PVMFWIMAGE_TARGET Replace the manual 'cp' by the more common 'copy-one-file'. Bug: 199831815 Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img # with TARGET_PKVM_ENABLED=true Change-Id: I5e4bbcbdbf4b96281ee54631938f097e9744883c
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.