Message ID | ae8085eb76c278a3dc76f1fc16ac625589faf4a2.1454004518.git.yann.morin.1998@free.fr |
---|---|
State | Changes Requested |
Headers | show |
Hi Yann, Yann E. MORIN wrote: > Some packages, like perl, download extra files that end up as part of > the source that Buildroot builds. Up until now, those files were not > saved in the legal-info output. > > Add those files to the legal-info output. > > The unfortunate side-effect is that we will also save the secondary > archive for the external blackfin toolchains; however, we already do > save the binary release of some external toolchains when they do not > provide actual source archives. > > This is inherently bad, as those are not source archives, but solving > this is a bigger concern, for another series... > > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> > Cc: Luca Ceresoli <luca@lucaceresoli.net> > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> > Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> And: Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index f6132b3..b59af9e 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -820,10 +820,12 @@ else # Other packages ifeq ($$($(2)_REDISTRIBUTE),YES) -# Copy the source tarball - $$(Q)$$(call hardlink-copy,\ - $$(DL_DIR)/$$($(2)_ACTUAL_SOURCE_TARBALL),\ - $$($(2)_REDIST_SOURCES_DIR)) +# Copy the source tarball and any extra downloads, but not +# patches, as they are handled specially afterwards. + $$(foreach e,$$($(2)_ACTUAL_SOURCE_TARBALL) $$(notdir $$($(2)_EXTRA_DOWNLOADS)),\ + $$(Q)$$(call hardlink-copy,\ + $$(DL_DIR)/$$(e),\ + $$($(2)_REDIST_SOURCES_DIR))$$(sep)) # Copy patches and generate the series file # Because patches may come from various places (bundled in Buildroot, # from one or more global-patch-dir), there might be collisions on the