From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] templates: src-make-prog: add <PKG>_MAKE_ENV to 'make clean' call
Date: Thu, 12 Sep 2024 14:11:54 +0200 [thread overview]
Message-ID: <20240912121154.2687632-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20240821095206.1472031-1-rhi@pengutronix.de>
Thanks, applied as 9148d945907156a5c93684159449c0cc8eeb621f.
Michael
[sent from post-receive hook]
On Thu, 12 Sep 2024 14:11:54 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> The make environment can contain variables influencing the build output
> folder, which might not be set correctly with only a simple 'make
> clean', in which case the build output will not actually be removed.
>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20240821095206.1472031-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 7227916e234f..9bd5c8dc5ab3 100644
> --- a/rules/templates/template-src-make-prog-make
> +++ b/rules/templates/template-src-make-prog-make
> @@ -92,7 +92,7 @@ $(STATEDIR)/@package@.targetinstall:
>
> $(STATEDIR)/@package@.clean:
> @$(call targetinfo)
> - @-$(call execute, @PACKAGE@, $(MAKE) clean)
> + @-$(call execute, @PACKAGE@, $(@PACKAGE@_MAKE_ENV) $(MAKE) clean)
> @$(call clean_pkg, @PACKAGE@)
>
> # vim: syntax=make
prev parent reply other threads:[~2024-09-12 12:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 9:52 [ptxdist] [PATCH] " Roland Hieber
2024-09-12 12:11 ` 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=20240912121154.2687632-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