Re: [PATCH] Kbuild: clean up marker

From: AmÃrico Wang
Date: Mon Nov 16 2009 - 01:26:36 EST


On Mon, Nov 16, 2009 at 1:49 PM, Wenji Huang <wenji.huang@xxxxxxxxxx> wrote:
> Drop Module.markers from cleaning list.
>
> Signed-off-by: Wenji Huang <wenji.huang@xxxxxxxxxx>

Acked-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>

Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>

> ---
> ÂMakefile | Â Â5 ++---
> Â1 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 8278361..1c8c3e1 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1198,7 +1198,7 @@ MRPROPER_FILES += .config .config.old include/asm .version .old_version \
>          include/linux/autoconf.h include/linux/version.h   Â\
>          include/linux/utsrelease.h              Â\
>          include/linux/bounds.h include/asm*/asm-offsets.h   \
> - Â Â Â Â Â Â Â Â Module.symvers Module.markers tags TAGS cscope*
> + Â Â Â Â Â Â Â Â Module.symvers tags TAGS cscope*
>
> Â# clean - Delete most, but leave enough to build external modules
> Â#
> @@ -1217,7 +1217,7 @@ clean: archclean $(clean-dirs)
> Â Â Â Â Â Â Â Â\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
> Â Â Â Â Â Â Â Â-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
> Â Â Â Â Â Â Â Â-o -name '*.symtypes' -o -name 'modules.order' \
> - Â Â Â Â Â Â Â -o -name 'Module.markers' -o -name '.tmp_*.o.*' \
> + Â Â Â Â Â Â Â -o -name '.tmp_*.o.*' \
> Â Â Â Â Â Â Â Â-o -name '*.gcno' \) -type f -print | xargs rm -f
>
> Â# mrproper - Delete all generated files, including .config
> @@ -1415,7 +1415,6 @@ $(clean-dirs):
>
> Âclean: rm-dirs := $(MODVERDIR)
> Âclean: rm-files := $(KBUILD_EXTMOD)/Module.symvers \
> - Â Â Â Â Â Â Â Â Â $(KBUILD_EXTMOD)/Module.markers \
> Â Â Â Â Â Â Â Â Â Â$(KBUILD_EXTMOD)/modules.order
> Âclean: $(clean-dirs)
> Â Â Â Â$(call cmd,rmdirs)
> --
> 1.5.6
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
> Please read the FAQ at Âhttp://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/