mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
committed by
Tom Rini
parent
5fe6301a6d
commit
7390643f7b
1
.gitignore
vendored
1
.gitignore
vendored
@@ -61,7 +61,6 @@
|
|||||||
# Generated files
|
# Generated files
|
||||||
#
|
#
|
||||||
|
|
||||||
*.depend*
|
|
||||||
/LOG
|
/LOG
|
||||||
/errlog
|
/errlog
|
||||||
/reloc_off
|
/reloc_off
|
||||||
|
2
MAKEALL
2
MAKEALL
@@ -702,7 +702,7 @@ build_target() {
|
|||||||
if [ $BUILD_MANY == 1 ] ; then
|
if [ $BUILD_MANY == 1 ] ; then
|
||||||
trap - TERM
|
trap - TERM
|
||||||
|
|
||||||
${MAKE} -s tidy
|
${MAKE} -s clean
|
||||||
|
|
||||||
if [ -s ${LOG_DIR}/${target}.ERR ] ; then
|
if [ -s ${LOG_DIR}/${target}.ERR ] ; then
|
||||||
cp ${LOG_DIR}/${target}.ERR ${OUTPUT_PREFIX}/ERR/${target}
|
cp ${LOG_DIR}/${target}.ERR ${OUTPUT_PREFIX}/ERR/${target}
|
||||||
|
8
Makefile
8
Makefile
@@ -472,7 +472,7 @@ LDFLAGS_u-boot += -Ttext $(CONFIG_SYS_TEXT_BASE)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Targets which don't build the source code
|
# 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
|
# Only do the generic board check when actually building, not configuring
|
||||||
ifeq ($(filter $(NON_BUILD_TARGETS),$(MAKECMDGOALS)),)
|
ifeq ($(filter $(NON_BUILD_TARGETS),$(MAKECMDGOALS)),)
|
||||||
@@ -1119,11 +1119,7 @@ clean:
|
|||||||
-o -name '*.cfgtmp' \) -print \
|
-o -name '*.cfgtmp' \) -print \
|
||||||
| xargs rm -f
|
| xargs rm -f
|
||||||
|
|
||||||
# Removes everything not needed for testing u-boot
|
clobber: clean
|
||||||
tidy: clean
|
|
||||||
@find $(OBJTREE) -type f \( -name '*.depend*' \) -print | xargs rm -f
|
|
||||||
|
|
||||||
clobber: tidy
|
|
||||||
@find $(OBJTREE) -type f \( -name '*.srec' \
|
@find $(OBJTREE) -type f \( -name '*.srec' \
|
||||||
-o -name '*.bin' -o -name u-boot.img \) \
|
-o -name '*.bin' -o -name u-boot.img \) \
|
||||||
-print0 | xargs -0 rm -f
|
-print0 | xargs -0 rm -f
|
||||||
|
Reference in New Issue
Block a user