diff options
author | Haavard Skinnemoen | 2008-08-15 15:02:29 +0200 |
---|---|---|
committer | Haavard Skinnemoen | 2008-09-01 14:35:12 +0200 |
commit | d92852579546c46bdaac978e0b6767a6645b69e0 (patch) | |
tree | 2718a55cbec1a672b0edc5fc7a6640bdf34bdbbc /board/atmel/atstk1000 | |
parent | 25e6854d42c11046a468576179b5494f850311b2 (diff) |
atstk1000: Convert to new-style makefile
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'board/atmel/atstk1000')
-rw-r--r-- | board/atmel/atstk1000/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/board/atmel/atstk1000/Makefile b/board/atmel/atstk1000/Makefile index 155d46ac979..f9b26e5d3bc 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) |