]> git.sur5r.net Git - u-boot/commitdiff
atstk1000: Convert to new-style makefile
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 15 Aug 2008 13:02:29 +0000 (15:02 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 1 Sep 2008 12:35:12 +0000 (14:35 +0200)
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
board/atmel/atstk1000/Makefile

index 155d46ac979d6989d75524f67544adb35bc95f4d..f9b26e5d3bcd1861bd7b66375e2ddd7e39c45f65 100644 (file)
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)lib$(BOARD).a
+LIB                    := $(obj)lib$(BOARD).a
 
-COBJS  := $(BOARD).o flash.o
+COBJS-y                        += $(BOARD).o
+COBJS-y                        += flash.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)