From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C1025E008FA for ; Mon, 10 Mar 2014 15:59:51 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 10 Mar 2014 15:59:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,626,1389772800"; d="scan'208";a="469843354" Received: from twillis1-mobl1.amr.corp.intel.com (HELO [10.254.38.139]) ([10.254.38.139]) by orsmga001.jf.intel.com with ESMTP; 10 Mar 2014 15:59:32 -0700 User-Agent: Microsoft-MacOutlook/14.3.9.131030 Date: Mon, 10 Mar 2014 15:59:57 -0800 From: Darren Hart To: "Rifenbark, Scott M" , =?ISO-8859-1?B?Sm/jbw==?= Henrique Ferreira de Freitas , "yocto@yoctoproject.org" Message-ID: Thread-Topic: [yocto] [yocto-docs][PATCH] kernel-dev: Updates "Generating Configuration Files" section References: <1394072458-5930-1-git-send-email-joaohf@gmail.com> <41DEA4B02DBDEF40A0F3B6D0DDB1237983F79BAB@ORSMSX101.amr.corp.intel.com> In-Reply-To: <41DEA4B02DBDEF40A0F3B6D0DDB1237983F79BAB@ORSMSX101.amr.corp.intel.com> Mime-version: 1.0 Subject: Re: [yocto-docs][PATCH] kernel-dev: Updates "Generating Configuration Files" section 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: Mon, 10 Mar 2014 22:59:51 -0000 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 3/10/14, 14:55, "Rifenbark, Scott M" wrote: >Yes - the manual for 1.6 is only for that release. I would have to take >separate steps to apply it to dora or Dylan branches. The point there being that someone reading the current manual and working on the 1.5 releases, would find these proposed changes will fail. The method being removed here would work on all versions since this document was created. -- Darren > >>-----Original Message----- >>From: Darren Hart [mailto:dvhart@linux.intel.com] >>Sent: Monday, March 10, 2014 4:52 PM >>To: Jo=E3o Henrique Ferreira de Freitas; yocto@yoctoproject.org >>Cc: Rifenbark, Scott M >>Subject: Re: [yocto] [yocto-docs][PATCH] kernel-dev: Updates "Generating >>Configuration Files" section >> >>On 3/5/14, 18:20, "Jo=E3o Henrique Ferreira de Freitas" >>wrote: >> >>>Add a new step about how to use diffconfig task to create kernel config >>>fragments. >>> >>>[YOCTO #3862] >>> >>>Signed-off-by: Jo=E3o Henrique Ferreira de Freitas >> >>Thank you for updating the documentation. Please Cc: the relevant parties >>with patches to the list (the author for one, and a git log would reveal >>Scott R. >>as the next obvious owner). >> >>Scott, This is good stuff to add. My only thought is this is new >>functionality, the >>old method is still valid - and necessary before 1.6. >>What are your thoughts on dealing with this? Does the manual with 1.6 >>ONLY >>apply to 1.6? >> >>-- >>Darren >> >>>--- >>> documentation/kernel-dev/kernel-dev-common.xml | 25 >>>+++++++++---------------- >>> 1 file changed, 9 insertions(+), 16 deletions(-) >>> >>>diff --git a/documentation/kernel-dev/kernel-dev-common.xml >>>b/documentation/kernel-dev/kernel-dev-common.xml >>>index a152f9f..de04a39 100644 >>>--- a/documentation/kernel-dev/kernel-dev-common.xml >>>+++ b/documentation/kernel-dev/kernel-dev-common.xml >>>@@ -342,32 +342,25 @@ >>> >>> $ bitbake linux-yocto -c kernel_configme -f >>> >>>- Copy and rename the resulting >>>- .config file (e.g. >>>- config.orig). >>>- >>> Run the >>>menuconfig >>> command: >>> >>> $ bitbake linux-yocto -c menuconfig >>> >>>- Prepare a configuration fragment >>>based on >>>- the differences between the two files. >>>- >>>+ Run the >>>diffconfig >>>+ command to prepare a configuration fragment. >>>+ The result file >>>fragment.cfg will be placed in >>>+ ${>>url=3D'&YOCTO_DOCS_REF_URL;#var- >>WORKDIR'>WORKDIR>>ink >>>>} directory: >>>+ >>>+ $ bitbake linux-yocto -c diffconfig >>>+ >>> >>> >>> >>> >>>- Ultimately, the configuration fragment file needs to >>>be a >>>+ The diffconfig command creates a >>>file that is a >>> list of Linux kernel CONFIG_ >>>assignments. >>>- It cannot be in diff format. >>>- Here is an example of a command that creates your >>>- configuration fragment file. >>>- Regardless of the exact command you use, plan on >>>reviewing >>>- the output as you can usually remove some of the >>>defaults: >>>- >>>- $ diff -Nurp config.orig .config | sed -n "s/^\+//p" > frag.cfg >>>- >>>+ >>> See the ">>linkend=3D'changing-the-configuration'>Changing the Configuration" >>> section for information on how to use the output as a >>> configuration fragment. >>>-- >>>1.8.3.2 >>> >>>_______________________________________________ >>>yocto mailing list >>>yocto@yoctoproject.org >>>https://lists.yoctoproject.org/listinfo/yocto >>> >> >> >>-- >>Darren Hart >>Yocto Project - Linux Kernel >>Intel Open Source Technology Center >> >> >> > > --=20 Darren Hart Yocto Project - Linux Kernel Intel Open Source Technology Center