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/ronetix/pm9261/Makefile | 6 ------ board/ronetix/pm9263/Makefile | 6 ------ board/ronetix/pm9g45/Makefile | 6 ------ 3 files changed, 18 deletions(-) (limited to 'board/ronetix') diff --git a/board/ronetix/pm9261/Makefile b/board/ronetix/pm9261/Makefile index 4b4980867b..0abca0d112 100644 --- a/board/ronetix/pm9261/Makefile +++ b/board/ronetix/pm9261/Makefile @@ -41,12 +41,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS-y)) $(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/ronetix/pm9263/Makefile b/board/ronetix/pm9263/Makefile index 2fc9fb4d1f..68baec7275 100644 --- a/board/ronetix/pm9263/Makefile +++ b/board/ronetix/pm9263/Makefile @@ -41,12 +41,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS-y)) $(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/ronetix/pm9g45/Makefile b/board/ronetix/pm9g45/Makefile index cb0126288b..e586964663 100644 --- a/board/ronetix/pm9g45/Makefile +++ b/board/ronetix/pm9g45/Makefile @@ -38,12 +38,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(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.2.3