commit | 0dbfd709633639ea83530729ee78a58fd04e44e0 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Tue Jan 31 10:47:48 2023 -0800 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Fri Feb 10 21:06:53 2023 -0800 |
tree | b33f8a07defeeb1821aa810384919e1488902285 | |
parent | 4e0be0b4e34ea809136858e3ae7c5947b1262033 [diff] |
Support BOARD_SYSTEM_DLKM_SRC build config In aosp/2323114 , BOARD_SYSTEM_DLKM_SRC is removed in favor of BOARD_SYSTEM_KERNEL_MODULES . However, BOARD_SYSTEM_DLKM_SRC preserves directory structure of input kernel modules, where as BOARD_SYSTEM_KERNEL_MODULES flattens everything by copying all modules into the same directory. This causes some issues as vendor_dlkm that depend on system_dlkm modules now need to update their modules.dep file due to changes in path. For backward compatibility, add support for BOARD_SYSTEM_DLKM_SRC . When both BOARD_SYSTEM_DLKM_SRC and BOARD_SYSTEM_KERNEL_MODULES are set, BOARD_SYSTEM_KERNEL_MODULES will be preferred. The priority is arbitrary, but we need a defined ordering to prevent double copying. Test: th Bug: 267014648 Change-Id: Ib2f5229af02ea2b7c0d96da70afed9118f484c97
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.