punt unused clean/distclean targets
[platform/kernel/u-boot.git] / board / mpl / vcma9 / Makefile
index 27cef1d..213741c 100644 (file)
@@ -28,8 +28,8 @@ endif
 
 LIB    = $(obj)lib$(BOARD).o
 
-COBJS  := vcma9.o flash.o cmd_vcma9.o
-COBJS  += ../common/common_util.o
+COBJS  := ../common/common_util.o
+COBJS  += $(BOARD).o cmd_$(BOARD).o
 
 SOBJS  := lowlevel_init.o
 
@@ -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 $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target