[Buildroot] [PATCH 0/7] Improvements to the download logic

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Feb 28 18:15:06 UTC 2015


This set of 7 patches is some preparation work needed to fully bring
into the package infrastructure the responsability of features such as
"make source", "make external-deps" or "make legal-info".

In order to make this possible, we need to make sure that the package
infrastructure is aware of all downloads made by packages: calling the
"DOWNLOAD" macro directly is bypassing this. Currently, the linux and
perl packages are doing this, which means the package infrastructure
is not aware of certain things that the linux and perl packages are

This series therefore:

 * Fixes the 'linux' package to use the package infra to download
   patches. No changes to the package infra are needed to make this

 * Fixup the handling of the "Downloading" message.

 * Allow full URLs in <pkg>_EXTRA_DOWNLOADS, and not just a file name
   relative to <pkg>_SITE.

 * Fix the 'perl' package to use <pkg>_EXTRA_DOWNLOADS to download

I would like to see this small series merged, so that I can then
submit some additional patches later in the development cycle.



Thomas Petazzoni (7):
  linux: use the package infrastructure to download patches
  pkg-generic: fix the logic showing the "Downloading" message
  pkg-generic: take into account <pkg>_EXTRA_DOWNLOADS to display
    "Downloading" message
  pkg-generic: refactor the "Downloading" message logic
  pkg-generic: allow full URLs for <pkg>_EXTRA_DOWNLOADS
  docs/manual: update documentation about <pkg>_SOURCE, <pkg>_PATCH and
  perl: use <pkg>_EXTRA_DOWNLOADS

 docs/manual/adding-packages-generic.txt | 32 ++++++++++++++++++--------------
 linux/linux.mk                          | 25 +++++++++----------------
 package/perl/perl.mk                    | 15 ++++++---------
 package/pkg-generic.mk                  | 23 ++++++++++++-----------
 4 files changed, 45 insertions(+), 50 deletions(-)


More information about the buildroot mailing list