summaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-18 05:30:17 +0000
committerWolfgang Denk <wd@denx.de>2011-10-22 01:18:41 +0200
commit26ddff2d8db8a9f0315783bb008f02d2e93a0d9c (patch)
tree41aa41258653cda4ce0449a270e3a282d3e1f224 /board/samsung
parent4e4b21bd4e64a5cc122d317feb8e63ee846a60e4 (diff)
downloadu-boot-imx-26ddff2d8db8a9f0315783bb008f02d2e93a0d9c.zip
u-boot-imx-26ddff2d8db8a9f0315783bb008f02d2e93a0d9c.tar.gz
u-boot-imx-26ddff2d8db8a9f0315783bb008f02d2e93a0d9c.tar.bz2
build: add missing $(AR)->$(cmd_link_o_target) update
Seems people fixed their files to use libfoo.o, but didn't actually update the creation targets to use $(cmd_link_o_target). Update the rest of the Makefile's found with grep. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/samsung')
-rw-r--r--board/samsung/origen/Makefile2
-rw-r--r--board/samsung/smdkv310/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/samsung/origen/Makefile b/board/samsung/origen/Makefile
index f5c6507..bb6eaf6 100644
--- a/board/samsung/origen/Makefile
+++ b/board/samsung/origen/Makefile
@@ -47,7 +47,7 @@ endif
all: $(ALL)
$(LIB): $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
ifdef CONFIG_SPL_BUILD
tools/mk$(BOARD)spl.exe: tools/mkv310_image.c
diff --git a/board/samsung/smdkv310/Makefile b/board/samsung/smdkv310/Makefile
index 8e9b703..d168abd 100644
--- a/board/samsung/smdkv310/Makefile
+++ b/board/samsung/smdkv310/Makefile
@@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
all: $(obj).depend $(LIB)
$(LIB): $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
#########################################################################