From: Igor Grinberg Date: Tue, 15 Jul 2014 12:52:01 +0000 (+0300) Subject: Makefile: fix ctags/etags clean targets X-Git-Tag: v2014.10-rc1~94 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b3dfe43c6c4b39c443b8376f0d2f83ffef342080;p=oweals%2Fu-boot.git Makefile: fix ctags/etags clean targets Commit efcf861 (kbuild: use scripts/Makefile.clean) refactored the cleaning targets and accidentially replaced the actually generated "ctags" and "etags" files in the file list by "tags" and "TAGS". "tags" and "TAGS" are not part of the Makefile build targets and therefore should not be a part of the list for clean targets. Substitute the actually generated files instead, to fix the clean targets behavior. Cc: Masahiro Yamada Signed-off-by: Igor Grinberg --- diff --git a/Makefile b/Makefile index 26b29d1939..bfe801c14e 100644 --- a/Makefile +++ b/Makefile @@ -1222,7 +1222,7 @@ CLOBBER_FILES += u-boot* MLO* SPL System.map MRPROPER_DIRS += include/config include/generated \ .tmp_objdiff MRPROPER_FILES += .config .config.old \ - tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ + ctags etags cscope* GPATH GTAGS GRTAGS GSYMS \ include/config.h include/config.mk # clean - Delete most, but leave enough to build external modules