From patchwork Sat Jan 18 18:46:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Corcoles X-Patchwork-Id: 1225196 Return-Path: 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=corcoles.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=corcoles.net header.i=@corcoles.net header.a=rsa-sha1 header.s=corcoles.net header.b=VBzfTlRI; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 480RkB2tYVz9sPK for ; Sun, 19 Jan 2020 05:47:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0890A8632F; Sat, 18 Jan 2020 18:47:12 +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 Vj0WIepjWVe0; Sat, 18 Jan 2020 18:47:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9B42985C88; Sat, 18 Jan 2020 18:47:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 7FCA51BF473 for ; Sat, 18 Jan 2020 18:47:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 49CCB203FB for ; Sat, 18 Jan 2020 18:47:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0+He0fn3NaQI for ; Sat, 18 Jan 2020 18:47:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from butterfly.birch.relay.mailchannels.net (butterfly.birch.relay.mailchannels.net [23.83.209.27]) by silver.osuosl.org (Postfix) with ESMTPS id A9664203ED for ; Sat, 18 Jan 2020 18:47:07 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|alex@corcoles.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C02BB341382 for ; Sat, 18 Jan 2020 18:47:06 +0000 (UTC) Received: from pdx1-sub0-mail-a54.g.dreamhost.com (100-96-4-61.trex.outbound.svc.cluster.local [100.96.4.61]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 2794434146F for ; Sat, 18 Jan 2020 18:47:06 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|alex@corcoles.net Received: from pdx1-sub0-mail-a54.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sat, 18 Jan 2020 18:47:06 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|alex@corcoles.net X-MailChannels-Auth-Id: dreamhost X-Glossy-Company: 19abf1cb668f0bd0_1579373226581_3465486876 X-MC-Loop-Signature: 1579373226580:3295427435 X-MC-Ingress-Time: 1579373226580 Received: from pdx1-sub0-mail-a54.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTP id BAD9A828C5 for ; Sat, 18 Jan 2020 10:47:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=corcoles.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type; s=corcoles.net; bh=9sgu37TuwnamzWYr4mfsqZV7QYE =; b=VBzfTlRIpMaSTOTyCmgkst2IB92IGMrsaX9FMF+0193taHi2HATyFYu2NT+ v0+5pnplgup209EQG1jQh9mDqSLlMJoVvoLtGTIBPnNDXjy4I14I98nLpgq0WEKp VmO1vleYZIx7WvsZUL1iNHC677HSwokbYlFeCDdI7GZ0+C/I= Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: alex@corcoles.net) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTPSA id 23DF9828DA for ; Sat, 18 Jan 2020 10:46:59 -0800 (PST) Received: by mail-qk1-f177.google.com with SMTP id c16so26142159qko.6 for ; Sat, 18 Jan 2020 10:46:59 -0800 (PST) X-Gm-Message-State: APjAAAX96dge28saw1gLA7GLegxlAYLlmJjfxrRrBMirKwyWpGQ16AQn Kv45KytMuiTL7oF9CVIU+TQipQUGY44Hbbw8az1Z+A== X-Google-Smtp-Source: APXvYqzeMNi4VP3/YP5d0Lu1+rgOd/1ibYi/sVN8IKstR8nvowPc2XtjaI4ckgwAuiMZq8B8h5M95PxKOiCU3oo3Dog= X-Received: by 2002:a37:6704:: with SMTP id b4mr44799008qkc.32.1579373218873; Sat, 18 Jan 2020 10:46:58 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: X-DH-BACKEND: pdx1-sub0-mail-a54 From: Alex Corcoles Date: Sat, 18 Jan 2020 19:46:46 +0100 X-Gmail-Original-Message-ID: Message-ID: To: buildroot@buildroot.org X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedruddtgdduudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhfffkffuvfgtsehmtderredttdejnecuhfhrohhmpeetlhgvgicuvehorhgtohhlvghsuceorghlvgigsegtohhrtgholhgvshdrnhgvtheqnecuffhomhgrihhnpehruhhsthdrmhhkpdgtohhrtgholhgvshdrnhgvthenucfkphepvddtledrkeehrddvvddvrddujeejnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdqqhhkuddqfhdujeejrdhgohhoghhlvgdrtghomhdpihhnvghtpedvtdelrdekhedrvddvvddrudejjedprhgvthhurhhnqdhprghthheptehlvgigucevohhrtgholhgvshcuoegrlhgvgiestghorhgtohhlvghsrdhnvghtqedpmhgrihhlfhhrohhmpegrlhgvgiestghorhgtohhlvghsrdhnvghtpdhnrhgtphhtthhopegsuhhilhgurhhoohhtsegsuhhilhgurhhoohhtrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd Subject: [Buildroot] "PATCH": hack to be able to build Rust targetting MIPS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hi guys, I'm trying to build mipsel Rust stuff, and I've had to do this: 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< From 8c3f68a687b4f94a7c2e20e2020fd1e6f9e2c414 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 18 Jan 2020 19:24:57 +0100 Subject: [PATCH 1/1] Set RUSTC_TARGET_NAME Signed-off-by: alex --- package/rust/rust.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/rust/rust.mk b/package/rust/rust.mk index 5d14fc6682..258daef331 100644 --- a/package/rust/rust.mk +++ b/package/rust/rust.mk @@ -38,6 +38,8 @@ endef HOST_RUST_POST_EXTRACT_HOOKS += HOST_RUST_EXCLUDE_ORIG_FILES +RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-gnu$(RUSTC_ABI) + define HOST_RUST_CONFIGURE_CMDS ( \ echo '[build]'; \