Hi, 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- GNU_HOST = x86_64-host-linux-gnu Note that GNU_HOST has '-host-' instead of '-unknown-'. This is ab git of a hack to support x86_64-unknown-linux-gnu for the target: If host and target are the same then the packages won't be cross-compiled. Regards, 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]
