[Buildroot] [PATCH 2 of 3] Allow BR2_PRIMARY_SITE and BR2_BACKUP_SITE to be a file:// URL
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Jul 20 05:13:36 UTC 2011
Hello,
Le Tue, 15 Mar 2011 08:27:07 +0100,
Thomas De Schampheleire <patrickdepinguin+buildroot at 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
More information about the buildroot
mailing list