From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by mail.openembedded.org (Postfix) with ESMTP id 10ADD6B40D for ; Tue, 13 Aug 2013 17:46:38 +0000 (UTC) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 13 Aug 2013 10:46:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,871,1367996400"; d="scan'208";a="345821327" Received: from unknown (HELO [10.255.14.106]) ([10.255.14.106]) by azsmga001.ch.intel.com with ESMTP; 13 Aug 2013 10:46:38 -0700 Message-ID: <520A70FD.8000803@linux.intel.com> Date: Tue, 13 Aug 2013 10:46:37 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Mark Hatle References: <1376413879-9809-1-git-send-email-sgw@linux.intel.com> <520A6C5C.3050308@windriver.com> In-Reply-To: <520A6C5C.3050308@windriver.com> Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 2/2 v2] meta-skeleton: Add busybox config fragment example X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 17:46:38 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/13/2013 10:26 AM, Mark Hatle wrote: > On 8/13/13 12:11 PM, Saul Wold wrote: >> This shows an example of the config fragment support that >> both the linux-yocto and busybox recipes use. This example >> is specific to busybox. >> >> By adding busybox CONFIG options into a .cfg file and then >> adding that .cfg file to SRC_URI the merge_config.sh script will >> correctly handle these CONFIG options during the do_configure task. >> >> v2: fixed FILESEXTRAPATHS >> >> Signed-off-by: Saul Wold >> --- >> meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg | 1 + >> meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend | 5 +++++ >> 2 files changed, 6 insertions(+) >> create mode 100644 >> meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg >> create mode 100644 >> meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend >> >> diff --git a/meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg >> b/meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg >> new file mode 100644 >> index 0000000..42c6730 >> --- /dev/null >> +++ b/meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg >> @@ -0,0 +1 @@ >> +CONFIG_RFKILL=n > > Should be "# CONFIG_RFKILL is not set", I believe the =n will work, but > it doesn't following the kconfig conventions. > Yup, the commented out version works also, I will update the patch (v3), with > --Mark > >> diff --git >> a/meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend >> b/meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend >> new file mode 100644 >> index 0000000..641f04a4 >> --- /dev/null >> +++ b/meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend >> @@ -0,0 +1,5 @@ >> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" >> + >> +SRC_URI += " \ >> + file://no_rfkill.cfg \ >> + " >> > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > >