[OpenWrt Wiki] OpenWrt packages
https://openwrt.org/docs/guide-developer/package-policiesOpenWrt binary packages are almost exclusively produced from source packages by invoking either the OpenWrt buildroot or the OpenWrt SDK in order to translate the source package Makefile descriptions into executable binary artifacts tailored for a given target system.. Although it is possible to manually assemble binary packages by invoking tools such as tar and placing …
[OpenWrt Wiki] Build system usage
openwrt.org › toolchain › use-buildsystemDec 10, 2021 · Do everything as an unprivileged user, not root, without sudo. Make sure there are no spaces in the full path to the build directory. Typical build steps in a set up build system: # Download and update the sourcesgit clonehttps://git.openwrt.org/openwrt/openwrt.gitcdopenwrtgit pull # Select a specific code revisiongit branch-agit taggit checkoutv21.02.1 # Update the feeds./scripts/feeds update -a./scripts/feeds install-a # Configure the firmware image and the ...
[OpenWrt Wiki] Creating packages
https://openwrt.org/docs/guide-developer/packages24.07.2009 · Creating 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:
[OpenWrt Wiki] Creating packages
openwrt.org › docs › guide-developerNov 16, 2021 · PKG_BUILD_DEPENDS uses the name from the PKG_NAME, not the individual packages. For example, if you want to have openssl to be a build-dependency, you would write PKG_BUILD_DEPENDS:=openssl, whereas if your package depends and selects the openssl library, you'd have DEPENDS:=+libopenssl.
[OpenWrt Wiki] OpenWrt packages
openwrt.org › docs › guide-developerPackage dependencies, regardless of whether they're build-time or runtime ones, should only require packages within the same package feed or provided by the base feed located within the main OpenWrt package/ directory. Dependencies among packages in different, non-base feeds are strongly discouraged as it is not guaranteed that each build system has access to all feeds.