c4624460ca
When a kernel module archive is specified via BOARD_*_KERNEL_MODULES_ARCHIVE an unquoted wildcard pattern in the 'find' command used to find modules to add to modules.load can result in a build failure due to shell expansion. Fix this by quoting the pattern so that kernel modules in $ANDROID_BUILD_TOP don't cause unexpected build failures. Bug: 289887845 Test: Define BOARD_VENDOR_KERNEL_MODULES_ARCHIVE for aosp_cf_x86_64_phone, touch foo.ko && lunch aosp_cf_x86_64_phone-userdebug && m succeeds. Change-Id: I8122afc6bbbb5df6e3b11922b2be38129addeda0 Signed-off-by: Rashid Zaman <rashidz@meta.com> |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
banchanHelp.sh | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
envsetup.sh | ||
help.sh | ||
METADATA | ||
navbar.md | ||
OWNERS | ||
PREUPLOAD.cfg | ||
rbesetup.sh | ||
README.md | ||
shell_utils.sh | ||
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.