kumquat-buildroot/docs/manual
Thomas Petazzoni e15ec4c56b package/pkg-generic: add the concept of extract dependency
Extract dependencies are dependencies that must be ready before the
extract step of a package, i.e for tools that are needed to extract
packages themselves. Current examples of such tools are host-tar,
host-lzip and host-xz.

They are currently handled through DEPENDENCIES_HOST_PREREQ. However,
this mechanism has a number of drawbacks:

 - First and foremost, because host-tar/host-lzip/host-xz are not
   listed in the dependencies of packages, the package infrastructure
   does not know it should rsync them in the context of per-package
   SDK.

 - Second, there is no dependency handling *between* them. I.e, we
   have no mechanism that says host-tar should be built before
   host-lzip, while it is in fact the case: if you need to build
   host-lzip, you need to extract a tarball, so you may need host-tar
   if your system tarball is not capable enough.

For those reasons, it makes sense to add explicit support for "extract
dependencies" in the package infrastructure, through the
<pkg>_EXTRACT_DEPENDENCIES variable. It is unlikely this variable will
ever be used by a package .mk file, but it will be used internally by
the package infrastructure.

[Peter: fix typo in manual]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-03-25 17:43:07 +02:00
..
adding-board-support.txt
adding-packages-asciidoc.txt
adding-packages-autotools.txt
adding-packages-cargo.txt rustc: use RUSTC_{HOST,TARGET}_NAME 2018-02-13 23:09:47 +01:00
adding-packages-cmake.txt
adding-packages-conclusion.txt
adding-packages-directory.txt manual: clarify license file hash check during legal-info target 2017-10-17 23:36:08 +02:00
adding-packages-generic.txt package/pkg-generic: add the concept of extract dependency 2018-03-25 17:43:07 +02:00
adding-packages-gettext.txt
adding-packages-hooks.txt
adding-packages-kconfig.txt
adding-packages-kernel-module.txt
adding-packages-linux-kernel-spec-infra.txt
adding-packages-luarocks.txt
adding-packages-meson.txt docs/manual: pass PARALLEL_JOBS to NINJA_OPTS 2018-03-19 23:22:37 +01:00
adding-packages-perl.txt
adding-packages-python.txt
adding-packages-rebar.txt
adding-packages-tips.txt Revert "pkg-download: remove explicit PKG_VERSION from github helper" 2017-11-14 13:55:39 +01:00
adding-packages-virtual.txt
adding-packages-waf.txt
adding-packages.txt docs/manual: document cargo-based packages 2018-02-05 14:57:48 +01:00
advanced.txt
appendix.txt
beyond-buildroot.txt
ccache-support.txt
common-usage.txt
configure-other-components.txt
configure.txt
contribute.txt docs: update DEVELOPERS modification process 2017-11-05 21:13:58 +01:00
customize-configuration.txt
customize-device-permission-tables.txt
customize-directory-structure.txt
customize-outside-br.txt docs/manual: fix BR2_EXTERNAL path typo 2017-10-15 15:47:59 +02:00
customize-packages.txt
customize-patches.txt
customize-post-image.txt
customize-quick-guide.txt
customize-rootfs.txt
customize-users-tables.txt
customize.txt
debugging-buildroot.txt
developers.txt Manual: DEVELOPERS file integrity check 2017-11-08 13:20:02 +01:00
download-infra.txt
download-location.txt
eclipse-integration.txt
faq-troubleshooting.txt
getting.txt
how-buildroot-works.txt
introduction.txt
known-issues.txt
legal-notice.txt
make-tips.txt
makedev-syntax.txt
makeusers-syntax.txt
manual.mk
manual.txt Makefile, manual, website: Bump copyright year 2018-02-01 16:49:41 +01:00
migrating.txt docs/manual: add appendix about $(HOST_DIR)/usr 2017-09-06 22:13:40 +02:00
package-make-target.txt
patch-policy.txt docs: clarify <packagename>_PATCH behaviour 2017-09-24 14:43:37 +02:00
prerequisite.txt
quickstart.txt
rebuilding-packages.txt
resources.txt
using-buildroot-debugger.txt
using-buildroot-development.txt docs/manual: fix typo 2017-09-19 14:03:47 +02:00
using-buildroot-toolchain.txt docs/manual: add documentation for the "make sdk" target 2018-02-25 23:26:28 +01:00
writing-rules.txt