From patchwork Mon Jan 12 16:37:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivo Slanina X-Patchwork-Id: 427818 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 77B9F14017F for ; Tue, 13 Jan 2015 03:37:48 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0114691588; Mon, 12 Jan 2015 16:37:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ODI0iDr4OBfT; Mon, 12 Jan 2015 16:37:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 693D29154A; Mon, 12 Jan 2015 16:37:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 06C8A1C2926 for ; Mon, 12 Jan 2015 16:37:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 02D058AE40 for ; Mon, 12 Jan 2015 16:37:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id joXmbJXj0vPZ for ; Mon, 12 Jan 2015 16:37:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by hemlock.osuosl.org (Postfix) with ESMTPS id D583A8ADDD for ; Mon, 12 Jan 2015 16:37:38 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id y19so4205333wgg.4 for ; Mon, 12 Jan 2015 08:37:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Gq/KHEvXhtiyE4GVxHGfzz/lPNhrZUfVBoC8DjnEIOA=; b=rfd3HLjTkga3k5Tcl5XkOysG5Cfw2dndoD1H66xm0MDR8j3H3TniW2vE88vM26ILWJ iyScXaIr772zfJPIp8v8By1rKq8dO/HQjNYUBAjvVrKhQoObE12Zw7CUQzgVg5UmuCRv AvWSa0eYOuQ5u0Nsqq5lapdZlBAeAI+vYRC1XhARaThtKjGRKFMVeAztSLwQ19RgqF0a mCmKjUHRgF6n3vVd6juOxredLvg0PjCmY0JpWIBtYpHsYKesYtwer5zefqtozL4inIX0 Ni6BKsoBpMQ9Q9aCMW+JDu4e+5b03r8wDP+iL0jjtjBzM2H/It/ZokMP/br2HtcaMwmv mmeg== X-Received: by 10.194.190.162 with SMTP id gr2mr7091955wjc.13.1421080657501; Mon, 12 Jan 2015 08:37:37 -0800 (PST) Received: from localhost.localdomain (48.18.broadband9.iol.cz. [90.176.18.48]) by mx.google.com with ESMTPSA id bj3sm10859079wib.3.2015.01.12.08.37.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jan 2015 08:37:36 -0800 (PST) From: Ivo Slanina To: buildroot@buildroot.org Date: Mon, 12 Jan 2015 17:37:26 +0100 Message-Id: <1421080646-26230-2-git-send-email-ivo.slanina@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1421080646-26230-1-git-send-email-ivo.slanina@gmail.com> References: <1421080646-26230-1-git-send-email-ivo.slanina@gmail.com> Subject: [Buildroot] [PATCH 2/2] linux/linux.mk: fixed downloading kernel patches X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 Acked-by: "Yann E. MORIN" --- linux/linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/linux.mk b/linux/linux.mk index d02b02b..29f59e8 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