summaryrefslogtreecommitdiffstats
path: root/board/spear
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-13 06:54:57 +0000
committerWolfgang Denk <wd@denx.de>2011-10-15 22:20:36 +0200
commit464c79207c89f247f97b344495924eabb0c9738e (patch)
tree8e0710704d87a36e331b6afa1913d5e8356262c2 /board/spear
parentfa28bd2eef588ec2048ccafedb2b384d5a355858 (diff)
downloadblackbird-obmc-uboot-464c79207c89f247f97b344495924eabb0c9738e.tar.gz
blackbird-obmc-uboot-464c79207c89f247f97b344495924eabb0c9738e.zip
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 <vapier@gentoo.org>
Diffstat (limited to 'board/spear')
-rw-r--r--board/spear/common/Makefile6
-rw-r--r--board/spear/spear300/Makefile6
-rw-r--r--board/spear/spear310/Makefile6
-rw-r--r--board/spear/spear320/Makefile6
-rw-r--r--board/spear/spear600/Makefile6
5 files changed, 0 insertions, 30 deletions
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile
index e0df6c1fe6..11f81e4803 100644
--- a/board/spear/common/Makefile
+++ b/board/spear/common/Makefile
@@ -39,12 +39,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
-
#########################################################################
# This is for $(obj).depend target
include $(SRCTREE)/rules.mk
diff --git a/board/spear/spear300/Makefile b/board/spear/spear300/Makefile
index b9b0fed8af..aa1074957e 100644
--- a/board/spear/spear300/Makefile
+++ b/board/spear/spear300/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/spear/spear310/Makefile b/board/spear/spear310/Makefile
index 6dce0936a8..c5b63274cd 100644
--- a/board/spear/spear310/Makefile
+++ b/board/spear/spear310/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/spear/spear320/Makefile b/board/spear/spear320/Makefile
index f6bd7dd4c2..68dd7348a7 100644
--- a/board/spear/spear320/Makefile
+++ b/board/spear/spear320/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/spear/spear600/Makefile b/board/spear/spear600/Makefile
index 6b643bfc25..e2bd5ab7f5 100644
--- a/board/spear/spear600/Makefile
+++ b/board/spear/spear600/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
OpenPOWER on IntegriCloud