From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 21 Jul 2021 17:16:01 +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 1m6Dx3-00033R-H5 for lore@lore.pengutronix.de; Wed, 21 Jul 2021 17:16:01 +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 1m6Dx3-0000Op-78; Wed, 21 Jul 2021 17:16:01 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6DwT-0000OR-Ge; Wed, 21 Jul 2021 17:15:25 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m6DwS-00065x-Uj; Wed, 21 Jul 2021 17:15:24 +0200 Date: Wed, 21 Jul 2021 17:15:24 +0200 From: Michael Olbrich To: Guillermo Rodriguez Garcia Message-ID: <20210721151524.GP15288@pengutronix.de> Mail-Followup-To: Guillermo Rodriguez Garcia , ptxdist@pengutronix.de References: 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 X-Uptime: 17:07:18 up 153 days, 18:31, 101 users, load average: 0.16, 0.27, 0.19 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="us-ascii" Content-Transfer-Encoding: 7bit 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 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 ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de