Created
August 13, 2024 09:21
-
-
Save splatch/45373cd4687dbabb285a7facafecf05b to your computer and use it in GitHub Desktop.
Yocto - include wireguard as a module, minimal example of a build modification which pulls in and enables Linux 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
FILESEXTRAPATHS_prepend := "${THISDIR}/linux:" | |
SRC_URI += " \ | |
file://enable_wireguard.cfg \ | |
" | |
KERNEL_MODULE_AUTOLOAD_append = " wireguard " |
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
CONFIG_WIREGUARD=m |
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
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | |
require enable-wireguard.inc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment