From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit master 1/1] Makefile.package.in: allow packages to override download step
Date: Thu, 8 Jul 2010 09:30:39 +0200 [thread overview]
Message-ID: <20100708093039.7406f9d3@surf> (raw)
In-Reply-To: <4C34E1E7.6040605@lucaceresoli.net>
On Wed, 07 Jul 2010 22:21:59 +0200
Luca Ceresoli <luca@lucaceresoli.net> wrote:
> It's a good feature to have, but I agree with Thomas about the way to
> implement it. As I proposed in the discussion about "Getting package
> sources from git/svn/bzr", I'd rather make the DOWNLOAD command
> overridable in package/Makefile.package.in, like this:
>
> @@ -118,19 +118,19 @@
> # Retrieve the archive
> $(BUILD_DIR)/%/.stamp_downloaded:
> # support make source-check/external-deps
> ifeq ($(SPIDER),)
> # Only show the download message if it isn't already downloaded
> $(Q)(test -e $(DL_DIR)/$($(PKG)_SOURCE) && \
> (test -z $($(PKG)_PATCH) || test -e $(DL_DIR)$($(PKG)_PATCH))) || \
> $(call MESSAGE,"Downloading")
> endif
> - $(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_SOURCE))
> + $($(PKG)_DOWNLOAD_CMDS)
> $(if $($(PKG)_PATCH),$(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_PATCH)))
>
>
> where of course $(PKG)_DOWNLOAD_CMDS would default to $(call DOWNLOAD,...).
>
> Would such a patch be applied, if I wrote one?
There's another approach currently being developed: integrate support
for Git/SVN directly into the infrastructure. I hope to see the patch
for this coming pretty soon.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2010-07-08 7:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 15:33 [Buildroot] [git commit master 1/1] Makefile.package.in: allow packages to override download step Peter Korsgaard
2010-07-01 16:04 ` Thomas Petazzoni
2010-07-07 20:21 ` Luca Ceresoli
2010-07-08 7:30 ` Thomas Petazzoni [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-07-08 10:11 Luca Ceresoli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100708093039.7406f9d3@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox