From: Mike Frysinger Date: Tue, 18 Oct 2011 11:29:42 -0400 Subject: [U-Boot] [PATCH v6 07/20] sandbox: Add sandbox board In-Reply-To: References: <1318270953-32482-1-git-send-email-sjg@chromium.org> <1318270953-32482-8-git-send-email-sjg@chromium.org> Message-ID: <201110181129.43717.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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