From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzKnc-0004x9-7M for user-mode-linux-devel@lists.sourceforge.net; Thu, 10 Feb 2005 12:20:28 -0800 Received: from smtp002.mail.ukl.yahoo.com ([217.12.11.33]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CzKnV-0007By-6O for user-mode-linux-devel@lists.sourceforge.net; Thu, 10 Feb 2005 12:20:28 -0800 From: Blaisorblade Subject: Re: [uml-devel] Re: uml kbuild cleanup (cross-build) - some fixes and comments References: <200502101939.23300.blaisorblade@yahoo.it> <20050210201128.GD8859@parcelfarce.linux.theplanet.co.uk> In-Reply-To: <20050210201128.GD8859@parcelfarce.linux.theplanet.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502102119.18596.blaisorblade@yahoo.it> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 10 Feb 2005 21:19:18 +0100 To: user-mode-linux-devel@lists.sourceforge.net Cc: Al Viro , Jeff Dike On Thursday 10 February 2005 21:11, Al Viro wrote: > On Thu, Feb 10, 2005 at 07:39:23PM +0100, Blaisorblade wrote: > > First, Al, thanks a lot for succeeding in solving this... I had tried a > > lot of time ago to make sure that O= worked... (I think that -j already > > worked, unless somebody re-broke it after I fixed that). Plus you fix a > > lot of other stuff. > > > > There are (at least) two bugs to fix about this patch, plus some > > comments: > > > > http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.11-rc3-mm1/pa > >tches/cross-build > > > > 1) typo here: "objtre" should be "objtree" > > > > Index: linux-2.6.10/arch/um/kernel/Makefile > > =================================================================== > > > > @@ -50,7 +50,7 @@ > > quiet_cmd_quote2 = QUOTE $@ > > cmd_quote2 = sed -e '/CONFIG/{' \ > > -e 's/"CONFIG"\;/""/' \ > > - -e 'r $(obj)/config.tmp' \ > > + -e 'r $(objtre)/config.tmp' \ > > Where had that come from? The patch I've done is on > ftp://ftp.linux.org.uk/pub/people/viro/UML-kbuild. I don't see that > chunk in there. The closest I can find is > > -QUOTE = 'my $$config=`cat $(TOPDIR)/.config`; $$config =~ s/"/\\"/g ; > $$config =~ s/\n/\\n"\n"/g ; while() { $$_ =~ s/CONFIG/$$config/; > print $$_ }' +QUOTE = 'my $$config=`cat $(objtree)/.config`; $$config =~ > s/"/\\"/g ; $$config =~ s/\n/\\n"\n"/g ; while() { $$_ =~ > s/CONFIG/$$config/; print $$_ }' > > quiet_cmd_quote = QUOTE $@ > cmd_quote = $(PERL) -e $(QUOTE) < $< > $@ > > targets += config.c > -$(obj)/config.c : $(src)/config.c.in $(TOPDIR)/.config FORCE > +$(obj)/config.c : $(src)/config.c.in $(objtree)/.config FORCE > > Note that it's not -mm-based; problem with porting to -mm, maybe? No, porting to the Jeff's tree, I guess now - it's on top of another patch not yet in -mm. > Or > I might have equivalent typo in one of the older versions of patch and > it migrated... > > BTW, that chunk in your patch looks bogus regardless of typos - you have > config.tmp in clean-files, so it'd better be in arch/um/kernel, not in > the root... Jeff, please fix it. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel