commit | 1f04dfaba2f4a1d96801b3b6a6275c510d9efcc6 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Tue May 16 18:27:27 2023 -0700 |
committer | Juan Yescas <jyescas@google.com> | Thu May 18 20:12:09 2023 +0000 |
tree | 0ae1b44ffb45224e386a50dfe1b1c10cd9c2c89e | |
parent | 7833547153dcfc79f24b2f1ccfe0594045589b09 [diff] |
16k: Add 16K variant kernel/ramdisk build targets This adds two new build variables, BOARD_KERNEL_PATH_16K and BOARD_KERNEL_MODULES_16K . BOARD_KERNEL_PATH_16K will be copied to output directory as is. BOARD_KERNEL_MODULES_16K is a list of modules which will be packed into a ramdisk and added to output dir. This allows cuttlefish to switch to 16K kernel at runtime without adding too much overhead, as ramdisk building takes very little time. Bug: 253827893 Test: m kernel_16k ramdisk_16k Change-Id: I4e49c727e5ed07a915145897cb987f29b0fe68e2
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.