summaryrefslogtreecommitdiff
path: root/arch/sh
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 /arch/sh
parentfa28bd2eef588ec2048ccafedb2b384d5a355858 (diff)
downloadu-boot-imx-464c79207c89f247f97b344495924eabb0c9738e.zip
u-boot-imx-464c79207c89f247f97b344495924eabb0c9738e.tar.gz
u-boot-imx-464c79207c89f247f97b344495924eabb0c9738e.tar.bz2
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 'arch/sh')
-rw-r--r--arch/sh/cpu/sh2/Makefile6
-rw-r--r--arch/sh/cpu/sh3/Makefile6
-rw-r--r--arch/sh/cpu/sh4/Makefile6
3 files changed, 0 insertions, 18 deletions
diff --git a/arch/sh/cpu/sh2/Makefile b/arch/sh/cpu/sh2/Makefile
index a36f0c3..e3cbe20 100644
--- a/arch/sh/cpu/sh2/Makefile
+++ b/arch/sh/cpu/sh2/Makefile
@@ -38,12 +38,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/arch/sh/cpu/sh3/Makefile b/arch/sh/cpu/sh3/Makefile
index d51b07c..e08714e 100644
--- a/arch/sh/cpu/sh3/Makefile
+++ b/arch/sh/cpu/sh3/Makefile
@@ -41,12 +41,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/arch/sh/cpu/sh4/Makefile b/arch/sh/cpu/sh4/Makefile
index ba84de3..eec31b2 100644
--- a/arch/sh/cpu/sh4/Makefile
+++ b/arch/sh/cpu/sh4/Makefile
@@ -38,12 +38,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