commit | 57f23bf317fbc37a72ff309a1d5d29c316075aa2 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Thu Oct 26 10:28:35 2023 -0700 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Thu Oct 26 10:29:55 2023 -0700 |
tree | 73b9c44710f87fc492f7a924a790d324d14811c7 | |
parent | 160762a27631c0f0429100225863cd66d72fb627 [diff] |
De-duplicate kernel module names If BOARD_KERNEL_MODULES_16K contains duplicate kernel modules under different directories, build will fail with 'multiple overriding commands error' . To fix it, de-dup BOARD_KERNEL_MODULES_16K base on the basename of kernel modules files. Test: th Change-Id: I45d850d5b3804c54b9ec0133d3a657c2db5adb17
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.