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/xes/common/Makefile | 6 ------ board/xes/xpedite1000/Makefile | 6 ------ board/xes/xpedite517x/Makefile | 6 ------ board/xes/xpedite520x/Makefile | 6 ------ board/xes/xpedite537x/Makefile | 6 ------ board/xes/xpedite550x/Makefile | 6 ------ 6 files changed, 36 deletions(-) (limited to 'board/xes') diff --git a/board/xes/common/Makefile b/board/xes/common/Makefile index 39d105f..30871a9 100644 --- a/board/xes/common/Makefile +++ b/board/xes/common/Makefile @@ -44,12 +44,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(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/xes/xpedite1000/Makefile b/board/xes/xpedite1000/Makefile index 5b0ffc2..905ca7a 100644 --- a/board/xes/xpedite1000/Makefile +++ b/board/xes/xpedite1000/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/xes/xpedite517x/Makefile b/board/xes/xpedite517x/Makefile index cac32e9..2c7301d 100644 --- a/board/xes/xpedite517x/Makefile +++ b/board/xes/xpedite517x/Makefile @@ -36,12 +36,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS-y)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(OBJS) $(SOBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend - ######################################################################### # defines $(obj).depend target diff --git a/board/xes/xpedite520x/Makefile b/board/xes/xpedite520x/Makefile index a774816..496012b 100644 --- a/board/xes/xpedite520x/Makefile +++ b/board/xes/xpedite520x/Makefile @@ -39,12 +39,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS-y)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(OBJS) $(SOBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend - ######################################################################### # defines $(obj).depend target diff --git a/board/xes/xpedite537x/Makefile b/board/xes/xpedite537x/Makefile index 86138f9..6b8d5a2 100644 --- a/board/xes/xpedite537x/Makefile +++ b/board/xes/xpedite537x/Makefile @@ -29,12 +29,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS-y)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(OBJS) $(SOBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend - ######################################################################### # defines $(obj).depend target diff --git a/board/xes/xpedite550x/Makefile b/board/xes/xpedite550x/Makefile index 7bc224c..bafa753 100644 --- a/board/xes/xpedite550x/Makefile +++ b/board/xes/xpedite550x/Makefile @@ -23,12 +23,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS-y)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS)) -clean: - rm -f $(OBJS) $(SOBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend - ######################################################################### # defines $(obj).depend target -- cgit v1.1