From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH] rules: template-src-make-prog-make: make use of the 'execute' macro
Date: Mon, 20 Nov 2023 19:52:44 +0100 [thread overview]
Message-ID: <20231120185244.2185899-1-rhi@pengutronix.de> (raw)
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
next reply other threads:[~2023-11-20 18:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-20 18:52 Roland Hieber [this message]
2023-11-28 8:36 ` [ptxdist] [APPLIED] " Michael Olbrich
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=20231120185244.2185899-1-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=ptxdist@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