]> git.sur5r.net Git - u-boot/blobdiff - board/keymile/km_arm/Makefile
microblaze: Fix reset function
[u-boot] / board / keymile / km_arm / Makefile
index 6bcfb257a8cdf5f859fe64bb7e4e3ffd5ee18b1d..13d485aedb4193227e88ad623ab6567328eb458e 100644 (file)
@@ -29,7 +29,11 @@ endif
 
 LIB    = $(obj)lib$(BOARD).o
 
-COBJS  := $(BOARD).o ../common/common.o
+COBJS  := $(BOARD).o ../common/common.o ../common/ivm.o
+
+ifdef CONFIG_KM_FPGA_CONFIG
+COBJS  += fpga_config.o
+endif
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
@@ -38,12 +42,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