summaryrefslogtreecommitdiff
path: root/board/atmel/atstk1000/Makefile
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-02-23 10:27:15 +0100
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-02-23 10:27:15 +0100
commitea393eb1d6a786fc2e895f90abb5f7e7541aef45 (patch)
treef8e264ecda76805863f9336d8c3712767984f373 /board/atmel/atstk1000/Makefile
parent32688e572ff96715b41420e9a7f280db6c399b65 (diff)
parentcb5473205206c7f14cbb1e747f28ec75b48826e2 (diff)
downloadu-boot-imx-ea393eb1d6a786fc2e895f90abb5f7e7541aef45.zip
u-boot-imx-ea393eb1d6a786fc2e895f90abb5f7e7541aef45.tar.gz
u-boot-imx-ea393eb1d6a786fc2e895f90abb5f7e7541aef45.tar.bz2
Merge branch 'cleanups' into next
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)