From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f42.google.com (mail-yh0-f42.google.com [209.85.213.42]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2FEEAE007BD for ; Tue, 25 Feb 2014 21:37:44 -0800 (PST) Received: by mail-yh0-f42.google.com with SMTP id a41so452084yho.15 for ; Tue, 25 Feb 2014 21:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=lSKDEr03WO6RG8a6JKLXXaK1z1m3PYizM2LGZVCEHd8=; b=kD8Ks65TI5F9fAI3mUWIih5C+QbIUsXFGS5wVYK7e1HoCULEs1eHOSl5R/Yr3sDTiG NgTQUPtivONqudolYRCVwBl9ALgEaDGt5qVYHDpxAMAdYpCsPKy1Hh8FrQVlotMqbpA/ WGolktux2W52geAkP1D3bRggMAALmivUj5JY68jG8SOw/2QA5h6WDLBVwFpEIsUj+4s3 wDsWdPlFxB1ySakLOzZHahUZhZDWqCuiLgiBBnPvmsxrwlGfVduf5MtsiTIyhitCCTS0 0opv3uZKJtL/967C9OY2mD5CO7M5pFVSGQaFA+etFEzqHIJ36EGzDe1zAtVCWzazQEKF Cyqg== X-Received: by 10.236.24.196 with SMTP id x44mr5211706yhx.92.1393393064343; Tue, 25 Feb 2014 21:37:44 -0800 (PST) Received: from goober-2.local ([75.76.20.151]) by mx.google.com with ESMTPSA id h23sm16149391yhc.0.2014.02.25.21.37.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 21:37:43 -0800 (PST) Message-ID: <530D7DA6.80302@gmail.com> Date: Tue, 25 Feb 2014 23:37:42 -0600 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Eric Nelson , "meta-freescale@yoctoproject.org" References: <530D0B2B.7050006@gmail.com> <530D14ED.9070705@boundarydevices.com> In-Reply-To: <530D14ED.9070705@boundarydevices.com> Subject: Re: Using a defconfig refers to an in-tree defconfig file X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 05:37:48 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/25/14, 4:10 PM, Eric Nelson wrote: > Hi John, > > On 02/25/2014 02:29 PM, John Weber wrote: >> I thought I would bounce this one of the mailing list. >> >> Is there any reason why we shouldn't simply use the defconfig from the >> kernel tree if appropriate? >> >> We would do this by the defconfig file in the recipe refer to a filename >> in the kernel tree. For example, in the file >> recipes-kernel/linux/linux-wandboard-3.10.17/defconfig would be a single >> line: >> >> use-kernel-config=wandboard_defconfig >> > > In general, +1 from our end. > > The primary down-side is that the Yocto needs may differ from other > distributions, but then again, any particular user will likely > want to tweak a bit anyway. Well, I thought all was good with this little trick, but as it turns out that is not the case. I saw this being done within meta-ti kernel recipes and thought it was pretty nifty, but each recipe includes this file: https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-kernel/linux/setup-defconfig.inc So, this is a non-standard feature. It would be nice to know what others think. And, Otavio, I was too quick to be happy regarding our conversation today... :-) > >> I've tested this already and it works. >> >> As many of the kernels being used here are managing their own defconfigs >> in-tree, they are forced to keep the defconfig in the metadata in-sync. > > >> This would be a way to remove that requirement. >> _______________________________________________ >> meta-freescale mailing list >> meta-freescale@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/meta-freescale >