Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2 of 3] Allow BR2_PRIMARY_SITE and BR2_BACKUP_SITE to be a file:// URL
Date: Wed, 20 Jul 2011 07:13:36 +0200	[thread overview]
Message-ID: <20110720071336.1958f634@skate> (raw)
In-Reply-To: <0aa192a871d0b6d66c57.1300174027@localhost6.localdomain6>

Hello,

Le Tue, 15 Mar 2011 08:27:07 +0100,
Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :

>  define DOWNLOAD
>  	$(Q)if test -n "$(call qstrip,$(BR2_PRIMARY_SITE))" ; then \
> -		$(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE),$(2)) && exit ; \
> +		case "$(call geturischeme,$(BR2_PRIMARY_SITE))" in \
> +			file) $(call $(DL_MODE)_FILE,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
> +			*) $(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
> +		esac ; \

Does this bring any additional feature that using the existing
BR2_DL_DIR option ?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2011-07-20  5:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15  7:27 [Buildroot] [PATCH 0 of 3] Add support for local package downloads (file://) Thomas De Schampheleire
2011-03-15  7:27 ` [Buildroot] [PATCH 1 of 3] Add file:// helpers to package download infrastructure Thomas De Schampheleire
2011-03-15  7:27 ` [Buildroot] [PATCH 2 of 3] Allow BR2_PRIMARY_SITE and BR2_BACKUP_SITE to be a file:// URL Thomas De Schampheleire
2011-07-20  5:13   ` Thomas Petazzoni [this message]
2011-07-24 11:54     ` Thomas De Schampheleire
2011-07-25  8:30       ` Thomas Petazzoni
2011-03-15  7:27 ` [Buildroot] [PATCH 3 of 3] Update documentation to mention file:// support Thomas De Schampheleire
2011-03-15 14:26 ` [Buildroot] [PATCH 0 of 3] Add support for local package downloads (file://) Richard Guy Briggs
2011-03-16  8:20   ` Thomas De Schampheleire
2011-03-16 13:44     ` Richard Guy Briggs
2011-03-15 22:54 ` Thomas Petazzoni
2011-03-16  8:24   ` Thomas De Schampheleire
2011-07-19 12:39   ` Thomas De Schampheleire

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=20110720071336.1958f634@skate \
    --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