From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WvSEG-0006Id-UG for ptxdist@pengutronix.de; Fri, 13 Jun 2014 16:13:16 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1WvSEG-0002zv-Ss for ptxdist@pengutronix.de; Fri, 13 Jun 2014 16:13:16 +0200 Date: Fri, 13 Jun 2014 16:13:16 +0200 From: Michael Olbrich Message-ID: <20140613141316.GC5199@pengutronix.de> References: <539AC04A.2050108@optimeas.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <539AC04A.2050108@optimeas.de> Subject: Re: [ptxdist] Differences between kernel config in ptxdist directory and the real kernel source directory 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 Fri, Jun 13, 2014 at 11:11:38AM +0200, Matthias Klein wrote: > our kernelconfig stays in the bsp directory at > configs/platform-xxx/kernelconfig-version. > We have an out of bsp git tree for the kernel sources which is > linked to local_src/kernel.xxx. > > Under which conditions get the config file transferd from bsp dir to > kernel dir, and from kernel dir to bsp dir? > > I had a big problem where I had in the bsp a 3.12.15 config with > preempt rt enabled, but an 3.12.19 config without preempt rt in > the kernel directory, and I don't understand how this can happen ... > (The kernel version is 3.12.19) > > I was thinking that ptxdist copy the config, calls "make oldconfig", > and copy the result back into the bsp. > > > Does it makes a difference for the kernel config handling that is is > an git tree instead of xz archive in the bsp? During kernel.prepare the config is copied from the BSP to the kernel source tree. At the end of 'ptxdist menuconfig kernel' or 'ptxdist oldconfig kernel' it is copied back, so you need to explicitly do this after changing the kernel code. Regards 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