From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 23 Jul 2021 11:20:38 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6rME-0001Ro-9J for lore@lore.pengutronix.de; Fri, 23 Jul 2021 11:20:38 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6rMD-0007fA-Q6; Fri, 23 Jul 2021 11:20:37 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6rM4-0007eq-HY; Fri, 23 Jul 2021 11:20:28 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6rM4-000449-0w; Fri, 23 Jul 2021 11:20:28 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m6rM4-007rjH-07; Fri, 23 Jul 2021 11:20:28 +0200 Date: Fri, 23 Jul 2021 11:20:27 +0200 From: Michael Olbrich To: Guillermo Rodriguez Garcia Message-ID: <20210723092027.GB735550@pengutronix.de> Mail-Followup-To: Guillermo Rodriguez Garcia , "ptxdist@pengutronix.de" References: <20210721151524.GP15288@pengutronix.de> <20210722110009.GB6071@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] Host and target triplets X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: "ptxdist@pengutronix.de" Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Jul 22, 2021 at 11:15:34PM +0200, Guillermo Rodriguez Garcia wrote: > El jueves, 22 de julio de 2021, Michael Olbrich > escribi=F3: > > On Thu, Jul 22, 2021 at 12:29:49PM +0200, Guillermo Rodriguez Garcia wr= ote: > > > El mi=E9, 21 jul 2021 a las 18:35, Guillermo Rodriguez Garcia (< > > > guille.rodriguez@gmail.com>) escribi=F3: > > > > El mi=E9, 21 jul 2021 a las 17:15, Michael Olbrich (< > > > > m.olbrich@pengutronix.de>) escribi=F3: > > > >> On Wed, Jul 21, 2021 at 04:07:34PM +0200, Guillermo Rodriguez Garc= ia > > > >> wrote: > > > >> > Are there any variables in ptxdist holding the host and target > > triplets, > > > >> > such as: > > > >> > > > > >> > Host: x86_64-unknown-linux-gnu > > > >> > Target: amrv7-unknown-linux-gnueabihf > > > >> > > > >> I assume, you mean variables that can be used in the package rules. > > > >> There are multiple variables available. In your example that would= be: > > > >> > > > >> PTXCONF_GNU_TARGET =3D amrv7-unknown-linux-gnueabihf > > > >> PTXCONF_COMPILER_PREFIX =3D amrv7-unknown-linux-gnueabihf- > > > >> > > > > > > > Something does not seem to work as expected, value of PTXCONF_GNU_TAR= GET > > is > > > arm-v7a-linux-gnueabihf whereas I need armv7-unknown-linux-gnueabihf.= Is > > > there a standard way to translate between the two? > > > > Right, so you don't need the GNU tripple from the toolchain. So the > > question is, what exactly is armv7-unknown-linux-gnueabihf? What do you > > need it for? > = > = > It is a Rust target spec. I need this in order to download the right > rust-std for the target. Hmm, when I added rustc to OSELAS.Toolchain 2021.07.0 I had the same problem. In the end I just hardcoded it in the config file. I had to create a custom spec anyways. There was no exact match for some of the toolchains. Michael -- = Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@p= engutronix.de