initial import
[patches.git] / linux-clean-external-Module.symvers.patch
1 diff --git a/Makefile b/Makefile
2 index dfe3d16..1db97d6 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -1253,8 +1253,10 @@ $(clean-dirs):
6 $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
7
8 clean: rm-dirs := $(MODVERDIR)
9 +clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers
10 clean: $(clean-dirs)
11 $(call cmd,rmdirs)
12 + $(call cmd,rmfiles)
13 @find $(KBUILD_EXTMOD) $(RCS_FIND_IGNORE) \
14 \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
15 -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \