]> git.sur5r.net Git - u-boot/blobdiff - lib_nios2/Makefile
License cleanup: remove all files with "All Rights Reserved" notices.
[u-boot] / lib_nios2 / Makefile
index 5f996d3bf5437613f6521dfee0cb61b8b466aa45..b69bc38850e363ad660d0d3b5bd1e5b720014905 100644 (file)
@@ -25,12 +25,16 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(ARCH).a
 
-SOBJS  = cache.o
+SOBJS-y        += cache.o
 
-COBJS  = board.o divmod.o bootm.o mult.o time.o
+COBJS-y        += board.o
+COBJS-y        += bootm.o
+COBJS-y        += divmod.o
+COBJS-y        += mult.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)