]> git.sur5r.net Git - u-boot/blobdiff - lib_avr32/Makefile
Merge branch 'new-image' of git://www.denx.de/git/u-boot-testing
[u-boot] / lib_avr32 / Makefile
index bb2938fe5c2206102477e45282d0d989a6ad4610..37b80514f3f4331c82078a2b83857c97ae32c41a 100644 (file)
@@ -27,12 +27,14 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(ARCH).a
 
-SOBJS  = memset.o
+SOBJS-y        += memset.o
 
-COBJS  = board.o interrupts.o avr32_linux.o
+COBJS-y        += board.o
+COBJS-y        += bootm.o
+COBJS-y        += interrupts.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)