Re: [PATCH] kbuild: clean Module.markers and modules.order for out-of-tree modules

From: Sam Ravnborg
Date: Sat Apr 25 2009 - 03:24:31 EST


On Sun, Apr 19, 2009 at 12:58:40PM -0400, Frédéric Brière wrote:
>
> Signed-off-by: Frédéric Brière <fbriere@xxxxxxxxxxx>
> ---
> Makefile | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index bfdef56..afbef69 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1421,7 +1421,9 @@ $(clean-dirs):
> $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
>
> clean: rm-dirs := $(MODVERDIR)
> -clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers
> +clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers \
> + $(KBUILD_EXTMOD)/Module.markers \
> + $(KBUILD_EXTMOD)/modules.order
> clean: $(clean-dirs)
> $(call cmd,rmdirs)
> $(call cmd,rmfiles)

Applied,
Sam
--
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/