mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
73d8b6c6f3ed25dcba6d4609c9e3995fb48dc48d
Obsolete use of $(SDK) in configure conditionals can result in dependency errors when building a subset of packages for packages which have multiple sub-packages. The reason it causes dependency issues is that (using libdbi-drivers as an example) lines like: ifneq ($(SDK)$(CONFIG_PACKAGE_libdbd-sqlite3),) always evaluate to true if you are compiling in the SDK. So for a user compiling from the SDK, the configure arguments are always added to the package build. In the case of libdbi-drivers: CONFIGURE_ARGS += \ --with-sqlite3 \ --with-sqlite3-incdir=$(STAGING_DIR)/usr/include \ -with-sqlite3-libdir=$(STAGING_DIR)/usr/lib is always added even if PACKAGE_libdbd-sqlite3 is deselected. When libdbd-sqlite3 is deselected, this dependency: DEPENDS:=libdbi +libsqlite3 is not present, so when configure tries to find sqlite3 it fails. Closes #28173 "tree-wide: obsolete $(SDK) in conditionals" See also: * "include: remove SDK exception from package install targets" openwrt/openwrt@28f44a4 Performed tree-wide to ease revert if necessary, per: https://github.com/openwrt/packages/issues/28173#issuecomment-3694615980 Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
…
OpenWrt packages feed
Description
This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.
Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.
Usage
This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot – Installation on the OpenWrt support site.
This feed is enabled by default. To install all its package definitions, run:
./scripts/feeds update packages
./scripts/feeds install -a -p packages
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Languages
Makefile
51.9%
Shell
32.7%
C
7.7%
UnrealScript
3%
C++
1.8%
Other
2.7%