On Tue, Oct 18, 2011 at 8:29 AM, Mike Frysinger <vap...@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! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot