diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-06-22 14:41:14 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-06-22 22:04:13 +0200 |
| commit | 1da3f17477329cb46846d6392abcc6b4a6c1e084 (patch) | |
| tree | 22b8d6125274f407df78bad718b55b18523f2f30 | |
| parent | 22efb9f89e96fe7bd004861adc555c65f1a8a38c (diff) | |
| download | buildroot-1da3f17477329cb46846d6392abcc6b4a6c1e084.tar.gz buildroot-1da3f17477329cb46846d6392abcc6b4a6c1e084.zip | |
legal-info: add a comment about what packages we save the tarballs of
As the legal-info infra only (rightfully) saves the tarballs of packages
that:
- we want to redistribute,
- and are not local,
- and are not overriden,
add a comment stating so.
This should clarify the code-block, which although trivial to read,
was not easy to interpret without thinking thouroughly about it.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Fabio Porcedda <fabio.porcedda@gmail.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| -rw-r--r-- | package/pkg-generic.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index b113684fcd..851ae0f4ab 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -627,6 +627,9 @@ ifneq ($$($(2)_LICENSE_FILES),) $(1)-legal-info: $(1)-extract endif +# We only save the sources of packages we want to redistribute, that are +# non-local, and non-overriden. So only store, in the manifest, the tarball +# name of those packages. ifeq ($$($(2)_REDISTRIBUTE),YES) ifneq ($$($(2)_SITE_METHOD),local) ifneq ($$($(2)_SITE_METHOD),override) |

