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/sandburst/karef/Makefile | 6 ------ board/sandburst/metrobox/Makefile | 6 ------ 2 files changed, 12 deletions(-) (limited to 'board/sandburst') diff --git a/board/sandburst/karef/Makefile b/board/sandburst/karef/Makefile index d447140..fe9b514 100644 --- a/board/sandburst/karef/Makefile +++ b/board/sandburst/karef/Makefile @@ -52,12 +52,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/sandburst/metrobox/Makefile b/board/sandburst/metrobox/Makefile index e98c989..6019d59 100644 --- a/board/sandburst/metrobox/Makefile +++ b/board/sandburst/metrobox/Makefile @@ -50,12 +50,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 -- cgit v1.1