* [ptxdist] [PATCH] rules: template-src-make-prog-make: make use of the 'execute' macro
@ 2023-11-20 18:52 Roland Hieber
2023-11-28 8:36 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2023-11-20 18:52 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
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>
---
rules/templates/template-src-make-prog-make | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] rules: template-src-make-prog-make: make use of the 'execute' macro
2023-11-20 18:52 [ptxdist] [PATCH] rules: template-src-make-prog-make: make use of the 'execute' macro Roland Hieber
@ 2023-11-28 8:36 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2023-11-28 8:36 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-28 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-20 18:52 [ptxdist] [PATCH] rules: template-src-make-prog-make: make use of the 'execute' macro Roland Hieber
2023-11-28 8:36 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox