diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-18 05:30:17 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-22 01:18:41 +0200 |
commit | 26ddff2d8db8a9f0315783bb008f02d2e93a0d9c (patch) | |
tree | 41aa41258653cda4ce0449a270e3a282d3e1f224 /board/samsung | |
parent | 4e4b21bd4e64a5cc122d317feb8e63ee846a60e4 (diff) |
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/Makefile | 2 | ||||
-rw-r--r-- | board/samsung/smdkv310/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/samsung/origen/Makefile b/board/samsung/origen/Makefile index f5c65073374..bb6eaf6fa48 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 8e9b703e3af..d168abd11de 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)) ######################################################################### |