aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Johan Oudinet <johan.oudinet@gmail.com>2018-12-05 17:06:18 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-09 17:24:29 +0100
commite16310c15a42cb5de409522dae104c41595738aa (patch)
tree8492f6e4ca4e0becf362ded8a676b4aa0dda5e70 /docs
parent9b28acb6861c1940ff0a20013820012af58177fd (diff)
downloadbuildroot-e16310c15a42cb5de409522dae104c41595738aa.tar.gz
buildroot-e16310c15a42cb5de409522dae104c41595738aa.tar.bz2
docs/manual: document <pkg>_KEEP_DEPENDENCIES in rebar-package infra
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/adding-packages-rebar.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manual/adding-packages-rebar.txt b/docs/manual/adding-packages-rebar.txt
index be9ede0113..d78b3171d8 100644
--- a/docs/manual/adding-packages-rebar.txt
+++ b/docs/manual/adding-packages-rebar.txt
@@ -86,6 +86,12 @@ If the package bundles a _rebar_ utility, but can use the generic
* +ERLANG_FOOBAR_REBAR_ENV+, to specify additional environment
variables to pass to the _rebar_ utility.
+* +ERLANG_FOOBAR_KEEP_DEPENDENCIES+, to keep the dependencies
+ described in the rebar.config file. Valid values are +YES+ or +NO+
+ (the default). Unless this variable is set to +YES+, the _rebar_
+ infrastructure removes such dependencies in a post-patch hook to
+ ensure rebar does not download nor compile them.
+
With the rebar infrastructure, all the steps required to build
and install the packages are already defined, and they generally work
well for most rebar-based packages. However, when required, it is