From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 15 May 2025 15:57:03 +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 1uFZ54-005rNn-39 for lore@lore.pengutronix.de; Thu, 15 May 2025 15:57:02 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uFZ54-0004Oi-PR; Thu, 15 May 2025 15:57:02 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uFZ4l-0004OS-8a; Thu, 15 May 2025 15:56:43 +0200 Received: from dude06.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::5c]) 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 1uFZ4k-002svA-22; Thu, 15 May 2025 15:56:43 +0200 Received: from lsc by dude06.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uFZ4l-00Auxp-01; Thu, 15 May 2025 15:56:43 +0200 From: Lars Schmidt To: ptxdist@pengutronix.de Date: Thu, 15 May 2025 15:56:19 +0200 Message-Id: <20250515135619.2599876-1-l.schmidt@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] tf-a: k3 needs an additional compile argument 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: Lars Schmidt 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 In order to compile ARM Trusted Firmware-A for K3 platforms, it needs TARGET_BOARD=lite set as make argument. The output files are then located in a subdirectory. Link: https://github.com/TexasInstruments/processor-sdk-doc/blob/0699d1bd5283d80c0adbd93035e361170dd36d98/source/linux/Foundational_Components_ATF.rst Signed-off-by: Lars Schmidt --- rules/tf-a.make | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules/tf-a.make b/rules/tf-a.make index bff4edf6c..664f360c5 100644 --- a/rules/tf-a.make +++ b/rules/tf-a.make @@ -44,6 +44,7 @@ TF_A_WRAPPER_BLACKLIST := \ TF_A_EXTRA_ARGS := $(call remove_quotes,$(PTXCONF_TF_A_EXTRA_ARGS)) TF_A_BINDIR = $(TF_A_BUILD_DIR)/$(1)/$(if $(filter DEBUG=1,$(TF_A_EXTRA_ARGS)),debug,release) +TF_A_BINDIR_BOARD = $(TF_A_BUILD_DIR)/$(1)/*/$(if $(filter DEBUG=1,$(TF_A_EXTRA_ARGS)),debug,release) TF_A_MAKE_OPT := \ -C $(TF_A_DIR) \ CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \ @@ -93,7 +94,8 @@ tf-a/inst_pkgdir = \ install -v -D -m 644 $(2) $(TF_A_PKGDIR)/usr/lib/firmware/$(3) tf-a/inst_plat = $(foreach artifact, \ - $(wildcard $(addprefix $(TF_A_BINDIR)/, $(TF_A_ARTIFACTS))), \ + $(wildcard $(addprefix $(TF_A_BINDIR)/, $(TF_A_ARTIFACTS))) \ + $(wildcard $(addprefix $(TF_A_BINDIR_BOARD)/, $(TF_A_ARTIFACTS))), \ $(call $(2),TF_A,$(artifact),$(1)-$(notdir $(artifact)))$(ptx/nl)) tf-a/inst_bins = $(foreach plat, $(TF_A_PLATFORMS), $(call tf-a/inst_plat,$(plat),$(1))) -- 2.39.5