mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] rules: template-src-make-prog-make: make use of the 'execute' macro
Date: Tue, 28 Nov 2023 09:36:48 +0100	[thread overview]
Message-ID: <20231128083648.1042194-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20231120185244.2185899-1-rhi@pengutronix.de>

Thanks, applied as 2b3ca4ba78b8455195f2a44d61ecedb312bd18b0.

Michael

[sent from post-receive hook]

On Tue, 28 Nov 2023 09:36:48 +0100, Roland Hieber <rhi@pengutronix.de> wrote:
> It does everything that is written out explicitely here; additionally it
> will also respect @PACKAGE@_SUBDIR if it should be set.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20231120185244.2185899-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/templates/template-src-make-prog-make b/rules/templates/template-src-make-prog-make
> index 50957c0f83ee..7227916e234f 100644
> --- a/rules/templates/template-src-make-prog-make
> +++ b/rules/templates/template-src-make-prog-make
> @@ -92,8 +92,7 @@ $(STATEDIR)/@package@.targetinstall:
>  
>  $(STATEDIR)/@package@.clean:
>  	@$(call targetinfo)
> -	@-cd $(@PACKAGE@_DIR) && \
> -		$(@PACKAGE@_ENV) $(@PACKAGE@_PATH) $(MAKE) clean
> +	@-$(call execute, @PACKAGE@, $(MAKE) clean)
>  	@$(call clean_pkg, @PACKAGE@)
>  
>  # vim: syntax=make



      reply	other threads:[~2023-11-28  8:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20 18:52 [ptxdist] [PATCH] " Roland Hieber
2023-11-28  8:36 ` Michael Olbrich [this message]

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=20231128083648.1042194-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rhi@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