summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/pkg-generic.mk3
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)
OpenPOWER on IntegriCloud