From patchwork Mon Apr 2 18:36:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 894347 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Jc+VdNh5"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40FLXl4zZ7z9s1r for ; Tue, 3 Apr 2018 04:36:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 534348AE64; Mon, 2 Apr 2018 18:36:36 +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 zjfp+dV-5SBX; Mon, 2 Apr 2018 18:36:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C3ACB8AE66; Mon, 2 Apr 2018 18:36:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 192E01C200F for ; Mon, 2 Apr 2018 18:36:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 165068A23E for ; Mon, 2 Apr 2018 18:36:33 +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 uD9RGKEE8K7r for ; Mon, 2 Apr 2018 18:36:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by whitealder.osuosl.org (Postfix) with ESMTPS id 41EDA8A23D for ; Mon, 2 Apr 2018 18:36:32 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id u46so15068807wrc.11 for ; Mon, 02 Apr 2018 11:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GHN7O8H83SNWh6olYgwvy7TdvMA+AlPmgjPy4hk3zuA=; b=Jc+VdNh5TY8uPaWi7OOkpAfOrb6bXacwAGCUekq7bVNiMblDk1rs4tGTQ/7RY0ZvCj roGCcYYFSg5z1m2cuUnDTpx8tmm9HXJIPinX1pUc4BAeES1L+aLZ2v4PMPEW523tqGOB c2Ap4RDy3WJ2A8St6mHTgGJS4D4p4f9QE3eblpBcktSbQj16P36+SDKvwrRq03hvfhmW 9bZrOJBZz4r+qMLcGMJbhtW9LbogyABUkNHnnOQsZ8SK5rMA+rgEaNjweqCXV8svoApP niFy4w/x/eLolhEsMn4MrqQSy1a/etZAkFRJDUA1uXbQMQ+yHF5C5+k/dpTOVZo142SJ HiOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GHN7O8H83SNWh6olYgwvy7TdvMA+AlPmgjPy4hk3zuA=; b=VwbVlQ8BP6hFr+UiGBCEKSTim6h0gkKYXzlRz37NRCgK5gmTFOKo0v1LxhRhl1ze6E mowXLFh6aFllHKSN4CTkpJM83XTnOWzHrurAzgy2a7G8/04c+bMuFjxEZFWyg9HdZ/HK /3u3LGHzF9I489WxoA2uGSTBCkuXLFCG+4eM8rahlCOMZl4SDBr0pWnbnCCB/62/NhLc OMicHBSC+oPS/zhvj94iUibmH0xeuAPMSZZNRvmbwOUv1dxhXDtDrUTW2lCfONCl66+i TRHJ6eY6rJ7YEVRFmhyAj3VFBvMR8qkQx/plCu8dBiGsWPasoUsCOzJt7uZDhmOAwQCl p0xQ== X-Gm-Message-State: AElRT7GeQ82pGvl8f5EXthwF6fZshNRbEMdUaW1ujArZ4SUxNLuhmmTi oovlaY63HlRYaBPc5A2p/nwHeQGO X-Google-Smtp-Source: AIpwx49bPzqjAFkQJqeH0/1DgXH7lzZNYpwWzWwbaCGXJOD6bzm3U2YpNrWp/i2g4nuS/+MZy5T9ZQ== X-Received: by 10.223.152.80 with SMTP id v74mr6952477wrb.163.1522694190399; Mon, 02 Apr 2018 11:36:30 -0700 (PDT) Received: from cerise.online.net ([195.154.228.195]) by smtp.gmail.com with ESMTPSA id h190sm2393671wmd.22.2018.04.02.11.36.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 11:36:29 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Mon, 2 Apr 2018 20:36:24 +0200 Message-Id: <20180402183626.7769-3-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180402183626.7769-1-maxime.hadjinlian@gmail.com> References: <20180402183626.7769-1-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [PATCH 3/5] rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIR X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Hadjinlian MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The infrastructure only provides HOST_RUST_BIN_DL_DIR, because this package is host only. Ideally the infra should provide RUST_BIN_DL_DIR, but it doesn't currently, and that requires more significant changes. Signed-off-by: Maxime Hadjinlian --- package/rust-bin/rust-bin.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk index 759d468304..b57849093d 100644 --- a/package/rust-bin/rust-bin.mk +++ b/package/rust-bin/rust-bin.mk @@ -22,7 +22,7 @@ HOST_RUST_BIN_LIBSTD_HOST_PREFIX = rust-std-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAM define HOST_RUST_BIN_LIBSTD_EXTRACT mkdir -p $(@D)/std $(foreach f,$(HOST_RUST_BIN_EXTRA_DOWNLOADS), \ - $(call suitable-extractor,$(f)) $(RUST_BIN_DL_DIR)/$(f) | \ + $(call suitable-extractor,$(f)) $(HOST_RUST_BIN_DL_DIR)/$(f) | \ $(TAR) -C $(@D)/std $(TAR_OPTIONS) - ) cd $(@D)/rustc/lib/rustlib; \