From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 481F26B5C7 for ; Tue, 13 Aug 2013 17:26:52 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r7DHQqDc017896 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 13 Aug 2013 10:26:53 -0700 (PDT) Received: from Marks-MacBook-Pro.local (172.25.36.228) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.342.3; Tue, 13 Aug 2013 10:26:52 -0700 Message-ID: <520A6C5C.3050308@windriver.com> Date: Tue, 13 Aug 2013 12:26:52 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: References: <1376413879-9809-1-git-send-email-sgw@linux.intel.com> In-Reply-To: <1376413879-9809-1-git-send-email-sgw@linux.intel.com> 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:26:52 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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. --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 \ > + " >