From 464c79207c89f247f97b344495924eabb0c9738e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 13 Oct 2011 06:54:57 +0000 Subject: punt unused clean/distclean targets The top level Makefile does not do any recursion into subdirs when cleaning, so these clean/distclean targets in random arch/board dirs never get used. Punt them all. MAKEALL didn't report any errors related to this that I could see. Signed-off-by: Mike Frysinger --- board/amcc/acadia/Makefile | 6 ------ board/amcc/bamboo/Makefile | 6 ------ board/amcc/bluestone/Makefile | 6 ------ board/amcc/bubinga/Makefile | 6 ------ board/amcc/canyonlands/Makefile | 6 ------ board/amcc/ebony/Makefile | 6 ------ board/amcc/katmai/Makefile | 6 ------ board/amcc/kilauea/Makefile | 6 ------ board/amcc/luan/Makefile | 6 ------ board/amcc/makalu/Makefile | 6 ------ board/amcc/ocotea/Makefile | 6 ------ board/amcc/redwood/Makefile | 6 ------ board/amcc/sequoia/Makefile | 6 ------ board/amcc/taihu/Makefile | 6 ------ board/amcc/taishan/Makefile | 6 ------ board/amcc/walnut/Makefile | 6 ------ board/amcc/yosemite/Makefile | 6 ------ board/amcc/yucca/Makefile | 6 ------ 18 files changed, 108 deletions(-) (limited to 'board/amcc') diff --git a/board/amcc/acadia/Makefile b/board/amcc/acadia/Makefile index b2772870a9..77fa07fb82 100644 --- a/board/amcc/acadia/Makefile +++ b/board/amcc/acadia/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/bamboo/Makefile b/board/amcc/bamboo/Makefile index 2e7dc39178..ecdf67ac17 100644 --- a/board/amcc/bamboo/Makefile +++ b/board/amcc/bamboo/Makefile @@ -37,12 +37,6 @@ all: $(LIB) $(SOBJS) $(LIB): $(OBJS) $(call cmd_link_o_target, $^) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/bluestone/Makefile b/board/amcc/bluestone/Makefile index 642eda01a7..8565204f2b 100644 --- a/board/amcc/bluestone/Makefile +++ b/board/amcc/bluestone/Makefile @@ -38,12 +38,6 @@ all: $(LIB) $(SOBJS) $(LIB): $(OBJS) $(call cmd_link_o_target, $^) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/bubinga/Makefile b/board/amcc/bubinga/Makefile index 9f63df1501..44cfca12a7 100644 --- a/board/amcc/bubinga/Makefile +++ b/board/amcc/bubinga/Makefile @@ -34,12 +34,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/canyonlands/Makefile b/board/amcc/canyonlands/Makefile index 4d87ea9a78..d2c9dd49b6 100644 --- a/board/amcc/canyonlands/Makefile +++ b/board/amcc/canyonlands/Makefile @@ -39,12 +39,6 @@ all: $(LIB) $(SOBJS) $(LIB): $(OBJS) $(call cmd_link_o_target, $^) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/ebony/Makefile b/board/amcc/ebony/Makefile index b5d0fe56a7..284629f238 100644 --- a/board/amcc/ebony/Makefile +++ b/board/amcc/ebony/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/katmai/Makefile b/board/amcc/katmai/Makefile index 466b1902e8..1c1e15eddf 100644 --- a/board/amcc/katmai/Makefile +++ b/board/amcc/katmai/Makefile @@ -37,12 +37,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/kilauea/Makefile b/board/amcc/kilauea/Makefile index 726c3ce4f1..38ef8231b6 100644 --- a/board/amcc/kilauea/Makefile +++ b/board/amcc/kilauea/Makefile @@ -35,12 +35,6 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) $(LIB): $(obj).depend $(OBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/luan/Makefile b/board/amcc/luan/Makefile index b5d0fe56a7..284629f238 100644 --- a/board/amcc/luan/Makefile +++ b/board/amcc/luan/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/makalu/Makefile b/board/amcc/makalu/Makefile index e10fadba25..26dace14f8 100644 --- a/board/amcc/makalu/Makefile +++ b/board/amcc/makalu/Makefile @@ -34,12 +34,6 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) $(LIB): $(obj).depend $(OBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/ocotea/Makefile b/board/amcc/ocotea/Makefile index b5d0fe56a7..284629f238 100644 --- a/board/amcc/ocotea/Makefile +++ b/board/amcc/ocotea/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/redwood/Makefile b/board/amcc/redwood/Makefile index 8759001185..1a374dd445 100644 --- a/board/amcc/redwood/Makefile +++ b/board/amcc/redwood/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend *~ - ######################################################################### include $(SRCTREE)/rules.mk diff --git a/board/amcc/sequoia/Makefile b/board/amcc/sequoia/Makefile index efe2065e4a..ca26d5ef81 100644 --- a/board/amcc/sequoia/Makefile +++ b/board/amcc/sequoia/Makefile @@ -39,12 +39,6 @@ all: $(LIB) $(SOBJS) $(LIB): $(OBJS) $(call cmd_link_o_target, $^) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/taihu/Makefile b/board/amcc/taihu/Makefile index 9b2e7e4b03..4a4f9220e0 100644 --- a/board/amcc/taihu/Makefile +++ b/board/amcc/taihu/Makefile @@ -33,12 +33,6 @@ OBJS := $(addprefix $(obj),$(COBJS)) $(LIB): $(OBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/taishan/Makefile b/board/amcc/taishan/Makefile index 099cf9d6bb..942c507519 100644 --- a/board/amcc/taishan/Makefile +++ b/board/amcc/taishan/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/walnut/Makefile b/board/amcc/walnut/Makefile index 9f63df1501..44cfca12a7 100644 --- a/board/amcc/walnut/Makefile +++ b/board/amcc/walnut/Makefile @@ -34,12 +34,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/yosemite/Makefile b/board/amcc/yosemite/Makefile index 5b0ffc2920..905ca7a47b 100644 --- a/board/amcc/yosemite/Makefile +++ b/board/amcc/yosemite/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/amcc/yucca/Makefile b/board/amcc/yucca/Makefile index d9fb7134d7..3f75a6789b 100644 --- a/board/amcc/yucca/Makefile +++ b/board/amcc/yucca/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target -- cgit v1.2.1