
When KBUILD_MIXED_TREE points to the output folder of another kernel's build output, Kbuild can compile a complete kernel tree's modules against that other kernel tree's vmlinux. This is useful when two kernel trees exist: a "Generic Kernel Image" tree and a "device kernel" tree. Both trees are complete kernel source trees, and the "Generic Kernel Image" should provide the kernel Image and device kernel tree provides device driver modules. To accomplish this, references to vmlinux.symvers in the device kernel should point to the generic kernel's vmlinux.symvers and the device kernel should skip compilation of built-in files. Bug: 178469391 Change-Id: I614f3e87519236c4e2c5da74937cb0ecd98a278a Signed-off-by: Elliot Berman <eberman@codeaurora.org> Signed-off-by: Giuliano Procida <gprocida@google.com>
1.5 KiB
Executable File
1.5 KiB
Executable File