From: Haavard Skinnemoen Date: Fri, 15 Aug 2008 13:02:29 +0000 (+0200) Subject: atstk1000: Convert to new-style makefile X-Git-Tag: v2009.06-rc1~145^2~1^2~4^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d92852579546c46bdaac978e0b6767a6645b69e0;p=u-boot atstk1000: Convert to new-style makefile Signed-off-by: Haavard Skinnemoen --- diff --git a/board/atmel/atstk1000/Makefile b/board/atmel/atstk1000/Makefile index 155d46ac97..f9b26e5d3b 100644 --- a/board/atmel/atstk1000/Makefile +++ b/board/atmel/atstk1000/Makefile @@ -24,12 +24,13 @@ 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)