mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [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

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