summaryrefslogtreecommitdiff
path: root/board/emk/top9000/Makefile
diff options
context:
space:
mode:
authorReinhard Meyer <u-boot@emk-elektronik.de>2010-12-09 10:07:31 +0100
committerReinhard Meyer <u-boot@emk-elektronik.de>2010-12-17 08:47:26 +0100
commitf805548b28f90aa76374b16f86206dd3a5743d23 (patch)
treeda49bcdd435c8e7667a17f679d98bb425e1906c0 /board/emk/top9000/Makefile
parent6741b5310f81ae5ae0132ad85b09fb31d6377b6c (diff)
downloadu-boot-imx-f805548b28f90aa76374b16f86206dd3a5743d23.zip
u-boot-imx-f805548b28f90aa76374b16f86206dd3a5743d23.tar.gz
u-boot-imx-f805548b28f90aa76374b16f86206dd3a5743d23.tar.bz2
AT91: fix TOP9000 build problem and change CONFIG_SYS_TEXT_BASE
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
Diffstat (limited to 'board/emk/top9000/Makefile')
-rw-r--r--board/emk/top9000/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/emk/top9000/Makefile b/board/emk/top9000/Makefile
index 9b28048..3ac6f14 100644
--- a/board/emk/top9000/Makefile
+++ b/board/emk/top9000/Makefile
@@ -26,9 +26,9 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
-COBJS-y += top9000.o
+COBJS-y += $(BOARD).o
COBJS-$(CONFIG_ATMEL_SPI) += spi.o
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
@@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+ $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean:
rm -f $(SOBJS) $(OBJS)