[PATCH] Makefile: Clean up auto-generated Kbuild and Config.in files
Denys Vlasenko
vda.linux at googlemail.com
Sun May 16 00:49:20 UTC 2010
On Friday 14 May 2010 01:45, Peter Tyser wrote:
> Previously these auto-generated files were left behind after a 'make
> mrproper' was ran.
>
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
> Makefile | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index da8f7d7..3b577fe 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1001,6 +1001,10 @@ $(mrproper-dirs):
> mrproper: clean archmrproper $(mrproper-dirs)
> $(call cmd,rmdirs)
> $(call cmd,rmfiles)
> + @find . \( -name 'Config.src' \) -type f -print | \
> + sed 's/.src/.in/' | xargs rm -f
> + @find . \( -name 'Kbuild.src' \) -type f -print | \
> + sed 's/.src//' | xargs rm -f
>
> # distclean
> #
Applied in the form
@find -name Config.src | sed 's/.src$/.in/' | xargs -r rm -f
@find -name Kbuild.src | sed 's/.src$//' | xargs -r rm -f
Thanks!
--
vda
More information about the busybox
mailing list