aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-utils.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-06-22 14:41:15 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-22 22:04:56 +0200
commit8d42b6d04516803c4a86c8e02b729d95df9c9415 (patch)
tree457e6f8b0ea0c754295f7d5af3cac435eeca6b60 /package/pkg-utils.mk
parent1da3f17477329cb46846d6392abcc6b4a6c1e084 (diff)
downloadbuildroot-8d42b6d04516803c4a86c8e02b729d95df9c9415.tar.gz
buildroot-8d42b6d04516803c4a86c8e02b729d95df9c9415.tar.bz2
legal-info: rename legal-warning-pkg-savednothing helper
This helper was called when none of the sources or license files were saved. Now we handle license files separately from the sources, this is no longer the case: they are only called when the sources are not saved. Rename the handler and change the warning message accordingly. 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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-utils.mk')
-rw-r--r--package/pkg-utils.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk
index 163ef8a07c..59a5ab2cc2 100644
--- a/package/pkg-utils.mk
+++ b/package/pkg-utils.mk
@@ -101,8 +101,8 @@ define legal-warning-pkg # pkg, text
echo "WARNING: $(1): $(2)" >>$(LEGAL_WARNINGS)
endef
-define legal-warning-pkg-savednothing # pkg, {local|override}
- $(call legal-warning-pkg,$(1),sources and license files not saved ($(2) packages not handled))
+define legal-warning-nosource # pkg, {local|override}
+ $(call legal-warning-pkg,$(1),sources not saved ($(2) packages not handled))
endef
define legal-manifest # pkg, version, license, license-files, source, {HOST|TARGET}