From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from 27.mail-out.ovh.net ([91.121.30.210]:51389 "HELO 27.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754477Ab0CYLiK (ORCPT ); Thu, 25 Mar 2010 07:38:10 -0400 Message-ID: <4BAB4B1E.3080703@example.com> Date: Thu, 25 Mar 2010 12:38:06 +0100 From: Piotr Hosowicz Reply-To: piotr@hosowicz.com MIME-Version: 1.0 Subject: Re: Maybe my frequent kernel building could be of some help to the community? And how to build? References: <4B9FD5D1.8040203@example.com> <4B9FDAF3.9010804@xenotime.net> <20100318084012.0cca4b6a.rdunlap@xenotime.net> <4BA6E49F.3070008@example.com> <4BA6E87D.2030405@xenotime.net> <4BA765B8.5010808@example.com> <4BA76852.8000506@example.com> <4BA966FF.2080903@example.com> <4BAA8769.3080907@xenotime.net> In-Reply-To: <4BAA8769.3080907@xenotime.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Randy Dunlap Cc: linux-kbuild@vger.kernel.org Randy Dunlap wrote: > On 03/23/10 18:12, Piotr Hosowicz wrote: >> Piotr Hosowicz wrote: >> >>> But it seems that it works, but I do not understand why. Needs rewrite, >>> better config template line parsing. >> I made it with Python, the scripts follow: > > Thanks for sharing them. Sorry to say but they are crap, the python script corrupts the config file, I do not know why. I'll try to solve it and post again. >> --- main try-build.sh >> >> #!/bin/bash >> >> RCPT=phz@localhost >> >> function tidy(){ >> rm ../results/.config 2>/dev/null >> rm ../results/build.log 2>/dev/null >> rm ../BUILDING-NOW 2>/dev/null >> } >> >> cd ~/kernel/linux >> if test -f ../BUILDING-NOW ; then >> exit 0 >> else >> touch ../BUILDING-NOW >> make mrproper >> cat ../config.all | ../randomize-conf.py > ./.config >> make prepare >> cp .config ../results/ >> make -j 10 2>&1 > ../results/build.log > > 'make' with no target also builds modules, so the 'make modules' > below isn't needed (it's extra work). Yes, but I wanted to have it separate to know when the build fails. Regards, Piotr Hosowicz -- Miss World 2006: Jestem szczęśliwa, że mogę wspaniale uczestniczyć w przeżyciu najpiękniejszych kobiet tutaj w Warszawie, gdzie Jan Paweł II, papież, w Polsce, skąd pochodzi. Spotkałam się z Kościołem Mariackim w Krakowie, który ciepło ludzi i wielka przyjaźń. Połowa mojego serca zostanie w Polsce, a druga połowa pojedzie ze mną do mojego kraju. NP: Mark Knopfler - Piper To The End NB: 2.6.34-rc2-nx-20100324-next-20100324+