[OpenWrt Wiki] Building a single package
openwrt.org › toolchain › singleOct 15, 2021 · One way or another, you'll need the toolchain first. make package/ [kernel-module] will not build modules, only package them. If they weren't built previously then you'll only get empty module packages. Instead: make menuconfig In the menuconfig, select your module such that an <M> appears, save and exit.
OpenWrt/kernelconfig – Gateworks
trac.gateworks.com › wiki › OpenWrtKernel Configuration and Customization ¶ OpenWrt specifies the kernel configuration for a target. It does allow some customization via the command make menuconfig but for things that are not available in OpenWrt configuration, you need to modify the kernel configuration directly located in the target/linux/<targetarch>/config* file.
[OpenWrt Wiki] Working with patches
openwrt.org › docs › guide-developerOct 15, 2021 · Adding or editing kernel patches. To prepare the kernel tree, use: make target / linux /{ clean,prepare } V =s QUILT = 1. The source tree is in the target- architecture subdirectory (potentially with a subarch): cd build_dir / target- */ linux- */ linux- *. The process for modifying kernel patches is the same as for packages, only the make ...
[OpenWrt Wiki] Creating packages
openwrt.org › docs › guide-developerOne of the things that we've attempted to do with OpenWrt's template system is make it incredibly easy to port software to OpenWrt. package/Makefile package/patches package/files The patches directory is optional and typically contains bug fixes or optimizations to reduce the size of the executable. The files directory is optional.
[OpenWrt Wiki] Creating packages
https://openwrt.org/docs/guide-developer/packagesCreating packages See also -> Package Policy Guide, which contains a wealth of extra technical information not covered here. One of the things that we've attempted to do with OpenWrt's template system is make it incredibly easy to port software to OpenWrt. If you look at a typical package directory in OpenWrt you'll find three things: