[U-Boot] [PATCH v6 1/5] tegra2: Use cmd_link_o_target in board Makefiles

Stephen Warren swarren at nvidia.com
Thu Oct 13 00:53:05 CEST 2011


v5: New patch

Signed-off-by: Stephen Warren <swarren at nvidia.com>
Acked-by: Mike Frysinger <vapier at gentoo.org>
Tested-by: Simon Glass <sjg at chromium.org>
---
 board/nvidia/harmony/Makefile  |    2 +-
 board/nvidia/seaboard/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/nvidia/harmony/Makefile b/board/nvidia/harmony/Makefile
index ebd8e02..aab185e 100644
--- a/board/nvidia/harmony/Makefile
+++ b/board/nvidia/harmony/Makefile
@@ -37,7 +37,7 @@ SRCS	:= $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
 
 $(LIB):	$(obj).depend $(OBJS)
-	$(AR) $(ARFLAGS) $@ $(OBJS)
+	$(call cmd_link_o_target, $(OBJS))
 
 clean:
 	rm -f $(OBJS)
diff --git a/board/nvidia/seaboard/Makefile b/board/nvidia/seaboard/Makefile
index ebd8e02..aab185e 100644
--- a/board/nvidia/seaboard/Makefile
+++ b/board/nvidia/seaboard/Makefile
@@ -37,7 +37,7 @@ SRCS	:= $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
 
 $(LIB):	$(obj).depend $(OBJS)
-	$(AR) $(ARFLAGS) $@ $(OBJS)
+	$(call cmd_link_o_target, $(OBJS))
 
 clean:
 	rm -f $(OBJS)
-- 
1.7.0.4



More information about the U-Boot mailing list