[Buildroot] [PATCH 12/16 v5] core/legal-info: also save extra downloads
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Mar 19 15:14:07 UTC 2016
Dear Yann E. MORIN,
On Fri, 11 Mar 2016 18:49:25 +0100, 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...
I see two possible ways around this:
- Have two separate variables, like <pkg>_EXTRA_SOURCE (to be used for
perl, contains real source code that needs to be saved during
legal-info), and <pkg>_EXTRA_DOWNLOADS (to be used for external
toolchains).
- Just like you don't copy <pkg>_SOURCE to legal-info when
<pkg>_ACTUAL_SOURCE is defined, don't copy <pkg>_EXTRA_DOWNLOADS
when <pkg>_ACTUAL_SOURCE is defined.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list