From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 22 Jun 2026 10:11:57 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wbZl7-008aQO-31 for lore@lore.pengutronix.de; Mon, 22 Jun 2026 10:11:57 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wbZl7-0006C7-3n; Mon, 22 Jun 2026 10:11:57 +0200 Received: from mx1.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::107]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wbZkg-0005B7-6K for ptxdist@pengutronix.de; Mon, 22 Jun 2026 10:11:30 +0200 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 0C2CA2006B1; Mon, 22 Jun 2026 10:11:30 +0200 (CEST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wbZkf-0043Gj-37; Mon, 22 Jun 2026 10:11:29 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wbZkf-0000000ENII-3pUp; Mon, 22 Jun 2026 10:11:29 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 22 Jun 2026 10:11:29 +0200 Message-ID: <20260622081129.3426127-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260603051117.3969413-1-g.schenk@eckelmann.de> References: <20260603051117.3969413-1-g.schenk@eckelmann.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] host-tf-a: Disable compiler autodetection 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: Gavin Schenk 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as f863d8a8e234fcf93593721bdaa1324ee76928ff. Michael [sent from post-receive hook] On Mon, 22 Jun 2026 10:11:29 +0200, Gavin Schenk wrote: > On recent gnu make version compiler autodetection fails. > > Michael stated in IRC: > > It's a whitespace issue. If the tool is not found, then in > make_helpers/toolchain.mk toolchain-warn-unrecognized is called and that > expands to multiple empty lines, so $1-$2-id contains those and that > breaks somewhere later. > > Setting CC=gcc is a good solution. It overwrites the autodetection. And > since we don't use it anyways, because we just build fiptool (which uses > HOSTCC), it does not really matter what we set there > > Signed-off-by: Gavin Schenk > Message-Id: <20260603051117.3969413-1-g.schenk@eckelmann.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/host-tf-a.make b/rules/host-tf-a.make > index 38f0006428e1..aff89dae58e1 100644 > --- a/rules/host-tf-a.make > +++ b/rules/host-tf-a.make > @@ -10,7 +10,7 @@ > # > HOST_PACKAGES-$(PTXCONF_HOST_TF_A) += host-tf-a > > -HOST_TF_A_MAKE_OPT = fiptool > +HOST_TF_A_MAKE_OPT = fiptool CC=gcc > > $(STATEDIR)/host-tf-a.install: > @$(call targetinfo)