Skip to content

Instantly share code, notes, and snippets.

@splatch
Created August 13, 2024 09:21
Show Gist options
  • Save splatch/45373cd4687dbabb285a7facafecf05b to your computer and use it in GitHub Desktop.
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.
FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
SRC_URI += " \
file://enable_wireguard.cfg \
"
KERNEL_MODULE_AUTOLOAD_append = " wireguard "
CONFIG_WIREGUARD=m
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