From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Rio8W-0000An-2Q for ptxdist@pengutronix.de; Thu, 05 Jan 2012 15:17:44 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Rio8W-0006dI-1c for ptxdist@pengutronix.de; Thu, 05 Jan 2012 15:17:44 +0100 Date: Thu, 5 Jan 2012 15:17:44 +0100 From: Michael Olbrich Message-ID: <20120105141744.GO21393@pengutronix.de> References: <20111108131600.GA11524@localhost.localdomain> <20111109165446.GB10633@pengutronix.de> <10611326.vmuEkP2ynv@ws-stein> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <10611326.vmuEkP2ynv@ws-stein> Subject: Re: [ptxdist] Local kernel tree config option Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Thu, Jan 05, 2012 at 02:40:20PM +0100, Alexander Stein wrote: > On Thursday 05 January 2012 13:21:31 jean-philippe francois wrote: > > > It was replaced with a more generic option. I guess we need to update > > > the > > > docs: > > > > > > $ ln -s /path/to/your/kernel/tree > > > /local_src/kernel. > > I am sorry, but I can't seem to make it work. > > I am using ptxdist 2011.12.0, and if I do > > ptxdist kernelconfig, it will try to download the kernel. > > AFAIK this is still done, although not necessary. Known bug, Robert wrote > about it some time ago. > As you seem to have an own kernel name, I would just touch the file it wants > to download in src/ and you should be fine. Yes of course. The tarball is still needed. This is a development feature. - Select the base kernel version in platformconfig (this will be downloaded) - work on the kernel tree in local_src/kernel. - export the final patches and remove local_src/kernel. For something permanent it _may_ work to overwrite KERNEL_URL: $ cat rules/post/fixup.make KERNEL_URL := file://$(PTXDIST_WORKSPACE)/local_src/my-special-kernel $ But I'm not sure if that really works for the kernel. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de