commit | d8eac1cb9ab8a6043c252bb692ee8d6ab7601aa1 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Fri May 19 20:05:18 2023 +0000 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Fri May 19 13:08:52 2023 -0700 |
tree | 3db8be73fe9eef9216537f06f0c1ae6db54f68db | |
parent | 863cba2c1d15469cfb47a464bd0ea4dd8eb31f18 [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: Ibb36ba4c3399b3f193795aea6597a4aa535f1bec
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.