Skip to content

Commit

Permalink
Kbuild: clean up marker
Browse files Browse the repository at this point in the history
Drop Module.markers from cleaning list since marker
is removed.

Signed-off-by: Wenji Huang <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
Wenji Huang authored and michal42 committed Dec 12, 2009
1 parent 7a77080 commit 8723eae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ CLEAN_FILES += vmlinux System.map \
MRPROPER_DIRS += include/config usr/include include/generated
MRPROPER_FILES += .config .config.old .version .old_version \
include/linux/version.h \
Module.symvers Module.markers tags TAGS cscope*
Module.symvers tags TAGS cscope*

# clean - Delete most, but leave enough to build external modules
#
Expand All @@ -1170,7 +1170,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
Expand Down Expand Up @@ -1368,7 +1368,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)
Expand Down

0 comments on commit 8723eae

Please sign in to comment.