Re: [PATCH] scripts/Makefile.clean: clean also $(extra-m) and $(extra-)

Michal Marek
2014-06-12T08:31:40Z

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.

Dne 12.6.2014 07:46, Masahiro Yamada napsal(a):> Hi Michal,
> If possible, please consider to include this patch in GIT-PULL.

Sorry, I need to do a cut off at some point :). I'll merge it right
after the merge window. If you provide a reproducer in the changelog,
I'll send it to Linus for the next -rc.

Michal