[U-Boot] [PATCH v6 07/20] sandbox: Add sandbox board
Simon Glass
sjg at chromium.org
Tue Oct 18 20:33:22 CEST 2011
On Tue, Oct 18, 2011 at 8:29 AM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Tuesday 18 October 2011 04:43:09 馬克泡 wrote:
>> 2011/10/11 Simon Glass :
>> > +include $(TOPDIR)/config.mk
>> > +
>> > +LIB = $(obj)lib$(BOARD).o
>> > +
>> > +COBJS := $(BOARD).o
>> > +
>> > +SRCS := $(COBJS:.o=.c)
>> > +OBJS := $(addprefix $(obj),$(COBJS))
>> > +
>> > +$(LIB): $(obj).depend $(OBJS)
>> > + $(AR) $(ARFLAGS) $@ $(OBJS)
>>
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> It has been suggested by Mike that you should use something like the
>> following because $(AR) might broken.
>>
>> $(LIB): $(OBJS)
>> $(call cmd_link_o_target, $(OBJS))
>
> yeah i missed this chunk of Simon's patch (i caught some others in his
> patchset). i've fixed this in my tree-wide $(AR) fixup, so Simon won't have to
> worry about posting an update.
> -mike
>
Thank you Mike!
More information about the U-Boot
mailing list