User Tools

Site Tools


doc:devel:packages
This wiki is read only and for archival purposes only. >>>>>>>>>> Please use the new OpenWrt wiki at https://openwrt.org/ <<<<<<<<<<

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
doc:devel:packages [2017/10/25 09:17]
ole2 [Build/InstallDev (optional)]
doc:devel:packages [2018/01/31 17:01] (current)
BeefEater
Line 71: Line 71:
   * ''​PKG_MD5SUM'' ​     - A checksum to validate the download. ​ It can be either a MD5 or SHA256 checksum, see [[https://​git.lede-project.org/?​p=source.git;​a=blob;​f=scripts/​download.pl;​h=90d50a88622f26f554344f20b07f9da7ba649e74;​hb=HEAD#​l63|scripts/​download.pl]]   * ''​PKG_MD5SUM'' ​     - A checksum to validate the download. ​ It can be either a MD5 or SHA256 checksum, see [[https://​git.lede-project.org/?​p=source.git;​a=blob;​f=scripts/​download.pl;​h=90d50a88622f26f554344f20b07f9da7ba649e74;​hb=HEAD#​l63|scripts/​download.pl]]
   * ''​PKG_CAT'' ​        - How to decompress the sources (zcat, bzcat, unzip)   * ''​PKG_CAT'' ​        - How to decompress the sources (zcat, bzcat, unzip)
-  * ''​PKG_BUILD_DEPENDS''​ - Packages that need to be built before this package, but are not required ​at runtime. ​Uses the same syntax as ''​DEPENDS''​ below.+  * ''​PKG_BUILD_DEPENDS''​ - Packages that need to be built before this package. Use this option if you need to make sure that your package has access to includes and/or libraries of another package ​at build time. Specify the directory name (i.e. openssl) rather than the binary package name (i.e. libopenssl). This build variable only establishes the build time dependency. Use ''​DEPENDS''​ to establish the runtime ​dependenciesThis variable uses the same syntax as ''​DEPENDS''​ below.
   * ''​PKG_CONFIG_DEPENDS''​ - specifies which config options influence the build configuration and should trigger a rerun of Build/​Configure on change   * ''​PKG_CONFIG_DEPENDS''​ - specifies which config options influence the build configuration and should trigger a rerun of Build/​Configure on change
   * ''​PKG_INSTALL'' ​    - Setting it to "​1"​ will call the package'​s original "make install"​ with prefix set to ''​PKG_INSTALL_DIR''​   * ''​PKG_INSTALL'' ​    - Setting it to "​1"​ will call the package'​s original "make install"​ with prefix set to ''​PKG_INSTALL_DIR''​
doc/devel/packages.txt · Last modified: 2018/01/31 17:01 by BeefEater