On Thu, Jul 22, 2021 at 11:15:34PM +0200, Guillermo Rodriguez Garcia wrote: > El jueves, 22 de julio de 2021, Michael Olbrich <[email protected]> > escribió: > > On Thu, Jul 22, 2021 at 12:29:49PM +0200, Guillermo Rodriguez Garcia wrote: > > > El mié, 21 jul 2021 a las 18:35, Guillermo Rodriguez Garcia (< > > > [email protected]>) escribió: > > > > El mié, 21 jul 2021 a las 17:15, Michael Olbrich (< > > > > [email protected]>) escribió: > > > >> On Wed, Jul 21, 2021 at 04:07:34PM +0200, Guillermo Rodriguez Garcia > > > >> 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 = amrv7-unknown-linux-gnueabihf > > > >> PTXCONF_COMPILER_PREFIX = amrv7-unknown-linux-gnueabihf- > > > >> > > > > > > > Something does not seem to work as expected, value of PTXCONF_GNU_TARGET > > 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 [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
