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/logicpd/am3517evm/Makefile | 6 ------ board/logicpd/imx27lite/Makefile | 6 ------ board/logicpd/imx31_litekit/Makefile | 6 ------ board/logicpd/zoom1/Makefile | 6 ------ board/logicpd/zoom2/Makefile | 6 ------ 5 files changed, 30 deletions(-) (limited to 'board/logicpd') diff --git a/board/logicpd/am3517evm/Makefile b/board/logicpd/am3517evm/Makefile index 83fab0e4fdc..bc2830f1073 100644 --- a/board/logicpd/am3517evm/Makefile +++ b/board/logicpd/am3517evm/Makefile @@ -32,12 +32,6 @@ OBJS := $(addprefix $(obj),$(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/logicpd/imx27lite/Makefile b/board/logicpd/imx27lite/Makefile index 944434bb933..bd78732c519 100644 --- a/board/logicpd/imx27lite/Makefile +++ b/board/logicpd/imx27lite/Makefile @@ -35,12 +35,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 - ######################################################################### include $(SRCTREE)/rules.mk diff --git a/board/logicpd/imx31_litekit/Makefile b/board/logicpd/imx31_litekit/Makefile index e604c31b193..56fc0058e35 100644 --- a/board/logicpd/imx31_litekit/Makefile +++ b/board/logicpd/imx31_litekit/Makefile @@ -35,12 +35,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 diff --git a/board/logicpd/zoom1/Makefile b/board/logicpd/zoom1/Makefile index 75085b4e16b..596585ebc93 100644 --- a/board/logicpd/zoom1/Makefile +++ b/board/logicpd/zoom1/Makefile @@ -33,12 +33,6 @@ OBJS := $(addprefix $(obj),$(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/logicpd/zoom2/Makefile b/board/logicpd/zoom2/Makefile index 17f595e72c6..228a5993eae 100644 --- a/board/logicpd/zoom2/Makefile +++ b/board/logicpd/zoom2/Makefile @@ -37,12 +37,6 @@ OBJS := $(addprefix $(obj),$(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 -- cgit v1.2.3