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/gdsys/405ep/Makefile | 6 ------ board/gdsys/common/Makefile | 6 ------ board/gdsys/dlvision/Makefile | 6 ------ board/gdsys/gdppc440etx/Makefile | 6 ------ board/gdsys/intip/Makefile | 6 ------ board/gdsys/neo/Makefile | 6 ------ 6 files changed, 36 deletions(-) (limited to 'board/gdsys') diff --git a/board/gdsys/405ep/Makefile b/board/gdsys/405ep/Makefile index 169418c..feb5cec 100644 --- a/board/gdsys/405ep/Makefile +++ b/board/gdsys/405ep/Makefile @@ -39,12 +39,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/gdsys/common/Makefile b/board/gdsys/common/Makefile index 4c7fc99..2868cc8 100644 --- a/board/gdsys/common/Makefile +++ b/board/gdsys/common/Makefile @@ -43,12 +43,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/gdsys/dlvision/Makefile b/board/gdsys/dlvision/Makefile index 1c3dadb..dc5b5b8 100644 --- a/board/gdsys/dlvision/Makefile +++ b/board/gdsys/dlvision/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target diff --git a/board/gdsys/gdppc440etx/Makefile b/board/gdsys/gdppc440etx/Makefile index 5b0ffc2..905ca7a 100644 --- a/board/gdsys/gdppc440etx/Makefile +++ b/board/gdsys/gdppc440etx/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/gdsys/intip/Makefile b/board/gdsys/intip/Makefile index 4d87ea9..d2c9dd4 100644 --- a/board/gdsys/intip/Makefile +++ b/board/gdsys/intip/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/gdsys/neo/Makefile b/board/gdsys/neo/Makefile index 1c3dadb..dc5b5b8 100644 --- a/board/gdsys/neo/Makefile +++ b/board/gdsys/neo/Makefile @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS)) -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - ######################################################################### # defines $(obj).depend target -- cgit v1.1