Last active
October 13, 2021 11:59
-
-
Save govorox/a0b7043ee51fe8a9e57a6164416fb1c1 to your computer and use it in GitHub Desktop.
Yocto: building out of tree kernel module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When building an out-of-tree module (inherits module class in a recipe) | |
make sure to set CONFIG_TRIM_UNUSED_KSYMS=n in defconfig. | |
this affects Module.symvers in kernel build artifacts imported by the recipe | |
in order to ensure the symbols from other modules can be referenced correctly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment