Skip to content

Commit

Permalink
punt unused clean/distclean targets
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vapier authored and wdenx committed Oct 15, 2011
1 parent fa28bd2 commit 464c792
Show file tree
Hide file tree
Showing 386 changed files with 0 additions and 2,321 deletions.
6 changes: 0 additions & 6 deletions arch/arm/cpu/arm926ejs/spear/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,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
Expand Down
6 changes: 0 additions & 6 deletions arch/sh/cpu/sh2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions arch/sh/cpu/sh3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions arch/sh/cpu/sh4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions board/BuS/eb_cpux9k2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/LaCie/edminiv2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/LaCie/netspace_v2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Marvell/aspenite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Marvell/dkb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Marvell/gplugd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Marvell/guruplug/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Marvell/mv88f6281gtw_ge/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Marvell/openrd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Marvell/rd6281a/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Marvell/sheevaplug/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/Seagate/dockstar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/a4m072/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/actux1/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/actux2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/actux3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/actux4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/adder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/afeb9260/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/alaska/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/altera/nios2-generic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS-y))
$(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
Expand Down
6 changes: 0 additions & 6 deletions board/amcc/acadia/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(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
Expand Down
6 changes: 0 additions & 6 deletions board/amcc/bamboo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ all: $(LIB) $(SOBJS)
$(LIB): $(OBJS)
$(call cmd_link_o_target, $^)

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/amcc/bluestone/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ all: $(LIB) $(SOBJS)
$(LIB): $(OBJS)
$(call cmd_link_o_target, $^)

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
6 changes: 0 additions & 6 deletions board/amcc/bubinga/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,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
Expand Down
6 changes: 0 additions & 6 deletions board/amcc/canyonlands/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ all: $(LIB) $(SOBJS)
$(LIB): $(OBJS)
$(call cmd_link_o_target, $^)

clean:
rm -f $(SOBJS) $(OBJS)

distclean: clean
rm -f $(LIB) core *.bak $(obj).depend

#########################################################################

# defines $(obj).depend target
Expand Down
Loading

0 comments on commit 464c792

Please sign in to comment.