diff options
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1255,8 +1255,10 @@ $(clean-dirs): | |||
1255 | $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@) | 1255 | $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@) |
1256 | 1256 | ||
1257 | clean: rm-dirs := $(MODVERDIR) | 1257 | clean: rm-dirs := $(MODVERDIR) |
1258 | clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers | ||
1258 | clean: $(clean-dirs) | 1259 | clean: $(clean-dirs) |
1259 | $(call cmd,rmdirs) | 1260 | $(call cmd,rmdirs) |
1261 | $(call cmd,rmfiles) | ||
1260 | @find $(KBUILD_EXTMOD) $(RCS_FIND_IGNORE) \ | 1262 | @find $(KBUILD_EXTMOD) $(RCS_FIND_IGNORE) \ |
1261 | \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ | 1263 | \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ |
1262 | -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \ | 1264 | -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \ |