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

Simon Glass sjg at chromium.org
Wed Oct 12 23:05:10 CEST 2011


On Wed, Oct 12, 2011 at 10:52 AM, Stephen Warren <swarren at nvidia.com> wrote:
> v5: New patch
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

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