From: Masahiro Yamada <yamada.m@jp.panasonic.com>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: [PATCH] scripts/Makefile.clean: clean also $(extra-m) and $(extra-)
Date: Fri, 20 Jun 2014 21:22:12 +0900 [thread overview]
Message-ID: <20140620212212.9339.AA925319@jp.panasonic.com> (raw)
In-Reply-To: <53A1EE1E.3090906@suse.cz>
Hi Michal,
On Wed, 18 Jun 2014 21:53:02 +0200
Michal Marek <mmarek@suse.cz> wrote:
> Dne 12.6.2014 10:24, Michal Marek napsal(a):
> > Dne 6.6.2014 03:43, Masahiro Yamada napsal(a):
> >> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> >> ---
> >> scripts/Makefile.clean | 4 ++--
> >> 1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean
> >> index 686cb0d..a651cee 100644
> >> --- a/scripts/Makefile.clean
> >> +++ b/scripts/Makefile.clean
> >> @@ -40,8 +40,8 @@ subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn))
> >> # build a list of files to remove, usually relative to the current
> >> # directory
> >>
> >> -__clean-files := $(extra-y) $(always) \
> >> - $(targets) $(clean-files) \
> >> +__clean-files := $(extra-y) $(extra-m) $(extra-) \
> >> + $(always) $(targets) $(clean-files) \
> >
> > Do you have an example where generated files are left in the tree after
> > make clean? This should go into the changelog.
>
> Hi Masahiro,
>
> do you have a reproducer, i.e. an example where make clean leaves
> generated files in the tree?
No, I don't.
I thought
arch/powerpc/kernel/Makefile is using
extra-$(CONFIG_...) += ...
but *.o files are simply cleaned-up. So this isn't the case.
Best Regards
Masahiro Yamada
next prev parent reply other threads:[~2014-06-20 12:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 1:43 [PATCH] scripts/Makefile.clean: clean also $(extra-m) and $(extra-) Masahiro Yamada
2014-06-06 13:30 ` Sam Ravnborg
2014-06-12 5:46 ` Masahiro Yamada
2014-06-12 8:24 ` Michal Marek
2014-06-12 8:40 ` Masahiro Yamada
2014-06-12 8:41 ` Michal Marek
2014-06-18 19:53 ` Michal Marek
2014-06-20 12:22 ` Masahiro Yamada [this message]
2014-06-20 13:23 ` Michal Marek
2014-07-03 20:55 ` Michal Marek
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=20140620212212.9339.AA925319@jp.panasonic.com \
--to=yamada.m@jp.panasonic.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=mmarek@suse.cz \
/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