aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorGravatar Ivo Slanina <ivo.slanina@gmail.com>2015-01-12 17:37:26 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-14 16:48:56 +0100
commitd9d575e0b2e2be130be7e92955bac92afc23c10c (patch)
tree392180b012cc8cca2c3a4db7a0858013b79446a1 /linux
parentfc6ee4cadbe39fc5803f3d603b7ab4c3948b1bbc (diff)
downloadbuildroot-d9d575e0b2e2be130be7e92955bac92afc23c10c.tar.gz
buildroot-d9d575e0b2e2be130be7e92955bac92afc23c10c.tar.bz2
linux/linux.mk: fixed downloading kernel patches
Patches located at ftp or http(s) URLs were downloaded using DOWNLOAD macro. For example, if linux source was located at external git repository, DOWNLOAD macro uses git scheme as well and buildroot tried to downlod a path using DOWNLOAD_GIT macro. As a result, nothing was downloaded and build siletly passes. Patches located at mentioned URLs is now downloaded directly with DOWNLOAD_WGET macro. Signed-off-by: Ivo Slanina <ivo.slanina@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/linux.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index d02b02b162..29f59e882e 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -148,7 +148,7 @@ define LINUX_DOWNLOAD_PATCHES
$(if $(LINUX_PATCHES),
@$(call MESSAGE,"Download additional patches"))
$(foreach patch,$(filter ftp://% http://% https://%,$(LINUX_PATCHES)),\
- $(call DOWNLOAD,$(patch))$(sep))
+ $(call DOWNLOAD_WGET,$(patch),$(notdir $(patch)))$(sep))
endef
LINUX_POST_DOWNLOAD_HOOKS += LINUX_DOWNLOAD_PATCHES