Thanks, applied as 9148d945907156a5c93684159449c0cc8eeb621f. Michael
[sent from post-receive hook] On Thu, 12 Sep 2024 14:11:54 +0200, Roland Hieber <[email protected]> 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 <[email protected]> > Message-Id: <[email protected]> > Signed-off-by: Michael Olbrich <[email protected]> > > 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)/@[email protected]: > > $(STATEDIR)/@[email protected]: > @$(call targetinfo) > - @-$(call execute, @PACKAGE@, $(MAKE) clean) > + @-$(call execute, @PACKAGE@, $(@PACKAGE@_MAKE_ENV) $(MAKE) clean) > @$(call clean_pkg, @PACKAGE@) > > # vim: syntax=make
