Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 57E3FE0090E; Tue, 17 Mar 2015 13:17:43 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from www.dynamicdevices.co.uk (www.dynamicdevices.co.uk [89.200.136.37]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 045B9E00753 for ; Tue, 17 Mar 2015 13:17:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by www.dynamicdevices.co.uk (Postfix) with ESMTP id 537FF27E1CD; Tue, 17 Mar 2015 20:17:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at lennoab2.miniserver.com Received: from www.dynamicdevices.co.uk ([127.0.0.1]) by localhost (www.dynamicdevices.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8NNARfQ6dkEJ; Tue, 17 Mar 2015 20:17:35 +0000 (UTC) Received: from [192.168.1.16] (AMarseille-651-1-76-237.w109-208.abo.wanadoo.fr [109.208.171.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by www.dynamicdevices.co.uk (Postfix) with ESMTPSA id D24C627E1BC; Tue, 17 Mar 2015 20:17:33 +0000 (UTC) Message-ID: <55088B79.1010103@dynamicdevices.co.uk> Date: Tue, 17 Mar 2015 21:15:53 +0100 From: Alex J Lennon User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Bruce Ashfield References: <55086B23.1030203@dynamicdevices.co.uk> In-Reply-To: Cc: Yocto Subject: Re: Kernel configuration fragments and defconfig from kernel source tree, not meta layer file X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2015 20:17:43 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 17/03/2015 21:08, Bruce Ashfield wrote: > On Tue, Mar 17, 2015 at 1:57 PM, Alex J Lennon > wrote: >> Hi, >> >> I've been looking into a request to have Yocto kernel configuration >> fragment support in meta-raspberrypi with a defconfig which is pulled >> from the kernel source tree for the configured machine. >> >> My understanding is that Yocto expects the defconfig file to be supplied >> in the meta-layer and then configured with SRC_URI += "file://defconfig" >> >> We'd prefer not to maintain copies of defconfigs, instead using the true >> default configuration from the kernel tree and allowing users to add >> their own .cfg fragments to the SRC_URI via, say, .bbappends. > Anyone who knows me, knows that I'd say I hate to see defconfigs > at all ;) I'm interested to understand the background if it's not too boring a revisit for you. Perhaps we can take that offline. What's the problem from your perspective? > But back on topic, this is something I can change, it is simply that > when I first put together the linux-yocto kernel configuration steps, > that most defconfigs were actually out of tree, and not within the kernel > tree itself. > >> It's easy enough to _prepend() a function to copy the appropriate >> defconfig from the kernel source to the working directory, but I am >> having a problem as do_patch() in kernel-yocto.bbclass seems to require >> a defconfig file from the layer itself via use of SRC_URI in find_sccs(). >> >> Any thoughts? Thanks, > Pop an enhancement request into the yocto bugzilla and assign it to > me. I can take care of it from there. > > But just to be clear, this will have to stay out of oe-core for a bit, since > it is past feature freeze for 1.8 and even bug fixes are cut off shortly. Great. Will do thanks Bruce, Regards, Alex