summaryrefslogtreecommitdiff
path: root/board/atmel/atstk1000/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-03-23 10:41:46 +0100
committerWolfgang Denk <wd@denx.de>2009-03-23 10:41:46 +0100
commit4ace2823bc1fcc96874069a9a8c0821ff4f95f5d (patch)
tree12073fe32a64a2acf3c8e41ef5435526ae712651 /board/atmel/atstk1000/Makefile
parent181c3e46f81e5564cc43ab69adf450fb5b66eab4 (diff)
parent1129b14e549c8629cbff8c19cb650cc431211868 (diff)
downloadu-boot-imx-4ace2823bc1fcc96874069a9a8c0821ff4f95f5d.zip
u-boot-imx-4ace2823bc1fcc96874069a9a8c0821ff4f95f5d.tar.gz
u-boot-imx-4ace2823bc1fcc96874069a9a8c0821ff4f95f5d.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-avr32
Diffstat (limited to 'board/atmel/atstk1000/Makefile')
-rw-r--r--board/atmel/atstk1000/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/board/atmel/atstk1000/Makefile b/board/atmel/atstk1000/Makefile
index 155d46a..f9b26e5 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)