Commit 7390643f7b5b1e37e28f11e782e30958485fbaf5

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 5fe6301a6d

Makefile: remove a cleaning target "tidy"

Before this commit, "make tidy" did
"make clean" + delete "*.depend*" files.

But, we do not have "*.depend*" files any more,
which means "make tidy" is the same as "make clean".

This commit removes the redandant target "tidy".

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Showing 3 changed files with 3 additions and 8 deletions Side-by-side Diff

... ... @@ -61,7 +61,6 @@
61 61 # Generated files
62 62 #
63 63  
64   -*.depend*
65 64 /LOG
66 65 /errlog
67 66 /reloc_off
... ... @@ -702,7 +702,7 @@
702 702 if [ $BUILD_MANY == 1 ] ; then
703 703 trap - TERM
704 704  
705   - ${MAKE} -s tidy
  705 + ${MAKE} -s clean
706 706  
707 707 if [ -s ${LOG_DIR}/${target}.ERR ] ; then
708 708 cp ${LOG_DIR}/${target}.ERR ${OUTPUT_PREFIX}/ERR/${target}
... ... @@ -472,7 +472,7 @@
472 472 endif
473 473  
474 474 # Targets which don't build the source code
475   -NON_BUILD_TARGETS = backup clean clobber distclean mrproper tidy unconfig %_config
  475 +NON_BUILD_TARGETS = backup clean clobber distclean mrproper unconfig %_config
476 476  
477 477 # Only do the generic board check when actually building, not configuring
478 478 ifeq ($(filter $(NON_BUILD_TARGETS),$(MAKECMDGOALS)),)
... ... @@ -1119,11 +1119,7 @@
1119 1119 -o -name '*.cfgtmp' \) -print \
1120 1120 | xargs rm -f
1121 1121  
1122   -# Removes everything not needed for testing u-boot
1123   -tidy: clean
1124   - @find $(OBJTREE) -type f \( -name '*.depend*' \) -print | xargs rm -f
1125   -
1126   -clobber: tidy
  1122 +clobber: clean
1127 1123 @find $(OBJTREE) -type f \( -name '*.srec' \
1128 1124 -o -name '*.bin' -o -name u-boot.img \) \
1129 1125 -print0 | xargs -0 rm -f