]> git.sur5r.net Git - u-boot/blobdiff - lib_mips/Makefile
Merge branch 'new-image' of git://www.denx.de/git/u-boot-testing
[u-boot] / lib_mips / Makefile
index 3163f00e011cbb5561ea323bb63bd56a97bfa34c..799eaf2658ff9137f0dd0daf7bb22fbb3674353f 100644 (file)
@@ -25,12 +25,14 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(ARCH).a
 
-SOBJS  =
+SOBJS-y        +=
 
-COBJS  = board.o time.o mips_linux.o
+COBJS-y        += board.o
+COBJS-y        += bootm.o
+COBJS-y        += time.o
 
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
+SRCS   := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS   := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
 
 $(LIB):        $(obj).depend $(OBJS)
        $(AR) $(ARFLAGS) $@ $(OBJS)