DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: Michael Olbrich <m.olbrich@pengutronix.de>
Cc: distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH] tf-a-stm32mp13: sync with tf-a upstream rule
Date: Thu, 11 Dec 2025 11:00:02 +0100	[thread overview]
Message-ID: <aTqWInJUwh6KQNCX@pengutronix.de> (raw)
In-Reply-To: <20251211093822.1440080-1-m.olbrich@pengutronix.de>

Applied to next.

On Thu, Dec 11, 2025 at 10:38:22AM +0100, Michael Olbrich wrote:
> As a side effect, this fixes devpkg usage.
> 
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> ---
>  .../platform-v7a/rules/tf-a-stm32mp13.make    | 23 ++++++-------------
>  1 file changed, 7 insertions(+), 16 deletions(-)
> 
> diff --git a/configs/platform-v7a/rules/tf-a-stm32mp13.make b/configs/platform-v7a/rules/tf-a-stm32mp13.make
> index 7bfd70c66553..e91269988a4e 100644
> --- a/configs/platform-v7a/rules/tf-a-stm32mp13.make
> +++ b/configs/platform-v7a/rules/tf-a-stm32mp13.make
> @@ -40,7 +40,6 @@ TF_A_STM32MP13_ARTIFACTS		:= tf-a-*.stm32 fdts/*-fw-config.dtb
>  TF_A_STM32MP13_WRAPPER_BLACKLIST	:= \
>  	$(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
>  
> -TF_A_STM32MP13_PATH	:= PATH=$(CROSS_PATH)
>  TF_A_STM32MP13_MAKE_OPT	:= \
>  	-C $(TF_A_STM32MP13_DIR) \
>  	CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \
> @@ -74,17 +73,17 @@ $(STATEDIR)/tf-a-stm32mp13.compile:
>  # Install
>  # ----------------------------------------------------------------------------
>  
> +TF_A_STM32MP13_BINDIR	:= $(TF_A_STM32MP13_BUILD_DIR)/$(1)/$(if $(filter DEBUG=1,$(TF_A_STM32MP13_MAKE_OPT)),debug,release)
> +
>  tf-a-stm32mp13/inst_plat = $(foreach artifact, \
>  	$(foreach pattern, $(TF_A_STM32MP13_ARTIFACTS), \
> -	$(wildcard $(TF_A_STM32MP13_BUILD_DIR)/$(1)/$(if $(filter DEBUG=1,TF_A_STM32MP13_MAKE_OPT),debug,release)/$(pattern))), \
> +	$(wildcard $(addprefix $(TF_A_STM32MP13_BINDIR)/, $(pattern)))), \
>  	install -v -D -m 644 $(artifact) \
> -		$(2)/$(1)-$(notdir $(artifact))$(ptx/nl))
> -
> -tf-a-stm32mp13/inst_bins = $(foreach plat, $(TF_A_STM32MP13_PLATFORMS), $(call tf-a-stm32mp13/inst_plat,$(plat),$(1)))
> +		$(TF_A_STM32MP13_PKGDIR)/usr/lib/firmware/$(1)-$(notdir $(artifact))$(ptx/nl))
>  
>  $(STATEDIR)/tf-a-stm32mp13.install:
>  	@$(call targetinfo)
> -	@$(call tf-a-stm32mp13/inst_bins,$(TF_A_STM32MP13_PKGDIR)/usr/lib/firmware)
> +	@$(foreach plat, $(TF_A_STM32MP13_PLATFORMS), $(call tf-a-stm32mp13/inst_plat,$(plat),$(1)))
>  	@$(call touch)
>  
>  # ----------------------------------------------------------------------------
> @@ -93,16 +92,8 @@ $(STATEDIR)/tf-a-stm32mp13.install:
>  
>  $(STATEDIR)/tf-a-stm32mp13.targetinstall:
>  	@$(call targetinfo)
> -	@$(call tf-a-stm32mp13/inst_bins,$(IMAGEDIR))
> +	@$(foreach artifact, $(wildcard $(TF_A_STM32MP13_PKGDIR)/usr/lib/firmware/*), \
> +		$(call ptx/image-install, TF_A_STM32MP13, $(artifact))$(ptx/nl))
>  	@$(call touch)
>  
> -# ----------------------------------------------------------------------------
> -# Clean
> -# ----------------------------------------------------------------------------
> -
> -$(STATEDIR)/tf-a-stm32mp13.clean:
> -	@$(call targetinfo)
> -	@rm -vf $(addprefix $(IMAGEDIR)/, $(notdir $(TF_A_STM32MP13_ARTIFACTS_SRC)))
> -	@$(call clean_pkg, TF_A_STM32MP13)
> -
>  # vim: syntax=make
> -- 
> 2.47.3
> 
> 
> 

-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



  reply	other threads:[~2025-12-11 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-11  9:38 Michael Olbrich
2025-12-11 10:00 ` Robert Schwebel [this message]
2025-12-11 12:10 ` [DistroKit] [PATCH] fixup! " Michael Olbrich
2025-12-11 13:02   ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aTqWInJUwh6KQNCX@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=m.olbrich@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox