474e4d04a3
Build support exists to copy a set of kernel modules to the recovery, vendor, and odm images. Extend similar support for copying kernel modules to the ramdisk via BOARD_RAMDISK_KERNEL_MODULES. If BOARD_USES_RECOVERY_AS_BOOT, then BOARD_RAMDISK_KERNEL_MODULES is added to the set of modules to be copied to recovery. Libmodprobe now supports reading a list of kernel modules to be loaded. Enable the creation of modules.load and modules.load.recovery files. These files contain the contents of BOARD_[RAMDISK|VENDOR|ODM|RECOVERY]_KERNEL_MODULES_LOAD, or if those variables are not set, the contents of BOARD_[RAMDISK|VENDOR|ODM|RECOVERY]_KERNEL_MODULES (indicating all modules should be loaded by default). This allows for optional customization of the set of modules to be loaded by libmodprobe and the order they are loaded in. Bug: 130585369 Change-Id: I9340787d31d71aebc8552344675d9696c189a8a1 |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
envsetup.sh | ||
help.sh | ||
navbar.md | ||
OWNERS | ||
README.md | ||
tapasHelp.sh | ||
Usage.txt |
Android Make Build System
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.