Message ID | 20200115132617.26604-2-patrick.havelange@essensium.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=essensium.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=essensium.com header.i=@essensium.com header.a=rsa-sha256 header.s=google header.b=dIi6WnFd; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47ySlr2bVVz9sRQ for <incoming-buildroot@patchwork.ozlabs.org>; Thu, 16 Jan 2020 00:26:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 49A4684483; Wed, 15 Jan 2020 13:26:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38NyAOcyDtPf; Wed, 15 Jan 2020 13:26:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 211DB847C4; Wed, 15 Jan 2020 13:26:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 615BA1BF573 for <buildroot@lists.busybox.net>; Wed, 15 Jan 2020 13:26:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5E11A847C4 for <buildroot@lists.busybox.net>; Wed, 15 Jan 2020 13:26:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6h-6tAhLmApa for <buildroot@lists.busybox.net>; Wed, 15 Jan 2020 13:26:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9008E84483 for <buildroot@buildroot.org>; Wed, 15 Jan 2020 13:26:35 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id t14so17844604wmi.5 for <buildroot@buildroot.org>; Wed, 15 Jan 2020 05:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=essensium.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1inL378tNDv+rOYRUhucQ9XlENs5/ybutMk/rjp1g7Q=; b=dIi6WnFdpEgBaaFsnV5/6eu/tgd8V+aw1zyn8LhQERweR3BQVfWTx3JYfnOR+nkZvI Qu/j2PLfaqw5keZX/e3ws5tdguWas45UyvV2NTmOCWt40+mFpzdmkloJp9Q+8eu/htgM 7sH5phVsMIBvcQrm/MskC/UaUvLDiHfRQEBzT20bxLMFuaemn9jpJJIAk6NmEor5mOGw SmnxJTudhrx/AiaKvsVwj26ziwmyUrR6It94y08ajr/1ce4BKd//dhwXrc0aOCgaRQ0r 4oXP0/3XNpl/PFqlcKbyT+OWgE6of/wcJOTCGGSf+6tr6j5EvxDHvh05mfpW55W8Z73w celg== 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:mime-version:content-transfer-encoding; bh=1inL378tNDv+rOYRUhucQ9XlENs5/ybutMk/rjp1g7Q=; b=BvZa5S+mHoga3MCEvdCKSh4HNH5E3bRBoWXQQL4iNOBSVSPx510eSD9rGRN+DI1tT8 RXlntyE+9EWtT1jhcEuduiucvGJ5ZGieLfg/hn7f4645sVFWeT50S9VwlZFjErVIbmx/ jsrWMs27sVgHVNh2C64BRsOpcqywkDZfLlzgAMSUe439+5HDJsGhY/KpiN1s5ynxvxTv rHS3lyGhLNUEWm0VjNck+HwYWDnoKppTphpxc4nAFHDvsT0DhoMS9Uvf1fbJE8IpC6gj TET6tsYZurhdsZh9vWeLfwoAQfWJ08zmDcJ9GeroYmrjGj1dyw4rhipuaJ7CbStrZIsV p8oQ== X-Gm-Message-State: APjAAAW/kAKDIw0p1wg7M7OKlMKUys1L8y9W3diGUs0zJ3XqryUhvTe4 FipwdBsFbZ1Ofmvg5Ok/zdfgbJtOAPY= X-Google-Smtp-Source: APXvYqxpbyfjwuL+eVBrS1VTl7WuZYugV20YY10ctwCpU3Yb7oDPi0R/cKfbLNTQpm6xXVbPL8Y24g== X-Received: by 2002:a05:600c:244:: with SMTP id 4mr32106091wmj.40.1579094793569; Wed, 15 Jan 2020 05:26:33 -0800 (PST) Received: from ph-ThinkPad-E560.local.ess-mail.com (ip-188-118-3-185.reverse.destiny.be. [188.118.3.185]) by smtp.gmail.com with ESMTPSA id 2sm24062027wrq.31.2020.01.15.05.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2020 05:26:33 -0800 (PST) From: Patrick Havelange <patrick.havelange@essensium.com> To: buildroot@buildroot.org Date: Wed, 15 Jan 2020 14:26:10 +0100 Message-Id: <20200115132617.26604-2-patrick.havelange@essensium.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200115132617.26604-1-patrick.havelange@essensium.com> References: <20200115132617.26604-1-patrick.havelange@essensium.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 2/9] package/cargo-bin: install if rust-bin selected X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>, Patrick Havelange <patrick.havelange@essensium.com>, Sam Voss <sam.voss@gmail.com>, Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
None
|
expand
|
diff --git a/package/cargo-bin/cargo-bin.mk b/package/cargo-bin/cargo-bin.mk index 3614f7a53d..4a3d52e43b 100644 --- a/package/cargo-bin/cargo-bin.mk +++ b/package/cargo-bin/cargo-bin.mk @@ -10,4 +10,11 @@ CARGO_BIN_SOURCE = cargo-$(CARGO_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz CARGO_BIN_LICENSE = Apache-2.0 or MIT CARGO_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT +ifeq ($(BR2_PACKAGE_HOST_RUST_BIN),y) +define HOST_CARGO_BIN_INSTALL_CMDS + $(@D)/install.sh --prefix=$(HOST_DIR) --disable-ldconfig +endef +HOST_CARGO_BIN_POST_INSTALL_HOOKS += HOST_RUST_INSTALL_CARGO_CONFIG +endif + $(eval $(host-generic-package))