From: Mike Frysinger Date: Wed, 12 Oct 2011 13:01:55 -0400 Subject: [U-Boot] [PATCH v4 4/4] tegra2: Add support for Ventana In-Reply-To: <74CDBE0F657A3D45AFBB94109FB122FF173BE19D8C@HQMAIL01.nvidia.com> References: <1318432727-32446-1-git-send-email-swarren@nvidia.com> <201110121126.37910.vapier@gentoo.org> <74CDBE0F657A3D45AFBB94109FB122FF173BE19D8C@HQMAIL01.nvidia.com> Message-ID: <201110121301.57395.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 Wednesday 12 October 2011 12:11:23 Stephen Warren wrote: > Mike Frysinger wrote at Wednesday, October 12, 2011 9:27 AM: > > On Wednesday 12 October 2011 11:18:47 Stephen Warren wrote: > > > --- /dev/null > > > +++ b/board/nvidia/ventana/Makefile > > > > > > +$(LIB): $(obj).depend $(OBJS) > > > + $(AR) $(ARFLAGS) $@ $(OBJS) > > > > your build file is out of date. this needs to use the cmd link target. > > seem just about any other board Makefile for an example. > > Which repo/branch contains the updated files? > > I'm using git://git.denx.de/u-boot.git master, and this new Makefile is > identical to existing board/nvidia/{harmony,seaboard}/Makefile. I guess > looking at some other board vendors though, you mean that I should make > the following change: > > $(LIB): $(obj).depend $(OBJS) > - $(call cmd_link_o_target, $(OBJS)) > + $(AR) $(ARFLAGS) $@ $(OBJS) your patch is reverted :). if other boards are using $(AR), it's because during review people didn't notice. calling $(AR) is wrong now. please post patches for those boards too :). > > > +clean: > > > + rm -f $(OBJS) > > > + > > > +distclean: clean > > > + rm -f $(LIB) core *.bak $(obj).depend > > > > unused ... just punt them > > These rules appear to be present in at least 80-90% of other board files. > Has there simply not been a pass to remove them everywhere yet? i've posted a big patch to do that already, but it hasn't yet been merged -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111012/0c7e13b7/attachment.pgp