![]() If system and vendor are built separately, none of the two builds contained kernel information. The process of extracting kernel information shouldn't depend on system and vendor builds, but on the existance of the kernel image. With this change, one of system or vendor build may have INSTALLED_KERNEL_IMAGE defined and the other has PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS defined. The one with INSTALLED_KERNEL_IMAGE defined will contain kernel information in target files. After target files are merged, check_target_files_vintf will kick in to do the checks properly. Test: forrest Bug: 180475190 Change-Id: I8d887dd94e1171ab277f02f25534caf098e3faae |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
Android.bp | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
METADATA | ||
OWNERS | ||
PREUPLOAD.cfg | ||
README.md | ||
Usage.txt | ||
buildspec.mk.default | ||
envsetup.sh | ||
help.sh | ||
navbar.md | ||
rbesetup.sh | ||
tapasHelp.sh |
README.md
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.