]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: remove a cleaning target "tidy"
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:34 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:07:51 +0000 (11:07 -0500)
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>
.gitignore
MAKEALL
Makefile

index b61358645886e41cfaefc8d3e5d8aa34ab4764ea..24019b373750a8f6f48b877a5f63267e3b316827 100644 (file)
@@ -61,7 +61,6 @@
 # Generated files
 #
 
-*.depend*
 /LOG
 /errlog
 /reloc_off
diff --git a/MAKEALL b/MAKEALL
index d7ad51dc440f2293e38dcde602d458eaefe37858..2bb6bb2638187faea48acf383f82ff6666647c13 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -702,7 +702,7 @@ build_target() {
        if [ $BUILD_MANY == 1 ] ; then
                trap - TERM
 
-               ${MAKE} -s tidy
+               ${MAKE} -s clean
 
                if [ -s ${LOG_DIR}/${target}.ERR ] ; then
                        cp ${LOG_DIR}/${target}.ERR ${OUTPUT_PREFIX}/ERR/${target}
index 16119576d5b625f892cfff035972dee77f995c2e..ac7dccd07fb360ecf0a5ead4e738aa82b5230d80 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -472,7 +472,7 @@ LDFLAGS_u-boot += -Ttext $(CONFIG_SYS_TEXT_BASE)
 endif
 
 # Targets which don't build the source code
-NON_BUILD_TARGETS = backup clean clobber distclean mrproper tidy unconfig %_config
+NON_BUILD_TARGETS = backup clean clobber distclean mrproper unconfig %_config
 
 # Only do the generic board check when actually building, not configuring
 ifeq ($(filter $(NON_BUILD_TARGETS),$(MAKECMDGOALS)),)
@@ -1119,11 +1119,7 @@ clean:
                -o -name '*.cfgtmp' \) -print \
                | xargs rm -f
 
-# Removes everything not needed for testing u-boot
-tidy:  clean
-       @find $(OBJTREE) -type f \( -name '*.depend*' \) -print | xargs rm -f
-
-clobber:       tidy
+clobber: clean
        @find $(OBJTREE) -type f \( -name '*.srec' \
                -o -name '*.bin' -o -name u-boot.img \) \
                -print0 | xargs -0 rm -f