From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6820CE002AC for ; Tue, 2 Oct 2012 02:23:14 -0700 (PDT) X-AuditID: c1b4fb2d-b7fea6d000002ccb-99-506ab2800caa Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 67.0F.11467.082BA605; Tue, 2 Oct 2012 11:23:13 +0200 (CEST) Received: from ESESSCMS0355.eemea.ericsson.se ([169.254.1.103]) by esessmw0247.eemea.ericsson.se ([153.88.115.93]) with mapi; Tue, 2 Oct 2012 11:23:10 +0200 From: Jonas Jonsson L To: "Yocto Mailinglist (yocto@yoctoproject.org)" Date: Tue, 2 Oct 2012 11:23:09 +0200 Thread-Topic: Howto add TIPC-support into kernel? Thread-Index: Ac2gf4nDi17a6C4ZSLqIrFdagEYJ7g== Message-ID: Accept-Language: sv-SE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: sv-SE, en-US MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsUyM+JvrW7jpqwAg7/bWSwmvVzD5sDo0X6i jy2AMYrLJiU1J7MstUjfLoErY+3sDUwFp/krjj7oY2pgnMPbxcjJISFgIvHn93dWCFtM4sK9 9WxdjFwcQgKnGCWO79rGAuEsYJR4u/QHC0gVG1DHhJU3GbsYOThEBDwlrjzQBQmzCKhINP58 BDZIWEBHovfxFyYQW0TAUGLd9x/sELaexJen0xlBbF6BcIljP16B1TAKyErc/34PbDyzgLjE rSfzmSAOEpBYsuc8M4QtKvHy8T9WiHoZiVOL/rNC1OdLrDy3nR1ipqDEyZlPWCYwCs1CMmoW krJZSMog4joSC3Z/YoOwtSWWLXzNDGOfOfCYCVl8ASP7Kkbh3MTMnPRyQ73Uoszk4uL8PL3i 1E2MwHg4uOW37g7GU+dEDjFKc7AoifNyJe33FxJITyxJzU5NLUgtii8qzUktPsTIxMEp1cCY rCRkeenmlL3eQrwqtiGOUslzRQL+i+xjCPj8Jvl21B3Rb4fSuPh8UxnMJc/eufFIwGa60FPt +YKXXWeqPWp+s6vZlv/Otx/7X+gfWrzV49AMbuHnqVZK4iyrWLfJTbjoMU9Wc2KwY9ANiwdL D86cnp3uu+tAQVRWYXq/RTC7nXSnarZOjZcSS3FGoqEWc1FxIgBvTDjIVQIAAA== Subject: Howto add TIPC-support into kernel? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2012 09:23:19 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_C1024C359E9D4C4EBC664A0111A52A3F7CFB32F185ESESSCMS0355e_" --_000_C1024C359E9D4C4EBC664A0111A52A3F7CFB32F185ESESSCMS0355e_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi! I'm writing a recipe for a piece of software that requires TIPC support in = the kernel. I've tried to figure out a way to accomplish this within my bb= -file, but with no success. Is there a way to do such thing with Yocto, cu= rrently I run 'bitbake -c menuconfig linux-yocto' (or is it yocto-linux, ca= n't recall) and then I add 'kernel-modules' to IMAGE_INSTALL_append in my '= local.conf'-file? I would like to have this dependency some-how contained = within my recipe. Thanks! Best regards, Jonas Jonsson --_000_C1024C359E9D4C4EBC664A0111A52A3F7CFB32F185ESESSCMS0355e_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi!
 
I'm writing a recipe for a piece of software that requires TIPC suppor= t in the kernel.  I've tried to figure out a way to accomplish this wi= thin my bb-file, but with no success.  Is there a way to do such thing= with Yocto, currently I run 'bitbake -c menuconfig linux-yocto' (or is it yocto-linux, can't recall) and then I add 'kernel-mo= dules' to IMAGE_INSTALL_append in my 'local.conf'-file?  I would like = to have this dependency some-how contained within my recipe.
 
Thanks!
 
Best regards,
Jonas Jonsson
 
--_000_C1024C359E9D4C4EBC664A0111A52A3F7CFB32F185ESESSCMS0355e_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 20158E00524 for ; Tue, 2 Oct 2012 06:50:59 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id q92DorW3000105 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 2 Oct 2012 06:50:56 -0700 (PDT) Received: from [128.224.146.67] (128.224.146.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.309.2; Tue, 2 Oct 2012 06:50:53 -0700 Message-ID: <506AF12E.6090009@windriver.com> Date: Tue, 2 Oct 2012 09:50:38 -0400 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Jonas Jonsson L References: In-Reply-To: Cc: "Yocto Mailinglist \(yocto@yoctoproject.org\)" Subject: Re: Howto add TIPC-support into kernel? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2012 13:50:59 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 12-10-02 05:23 AM, Jonas Jonsson L wrote: > Hi! > I'm writing a recipe for a piece of software that requires TIPC support > in the kernel. I've tried to figure out a way to accomplish this within > my bb-file, but with no success. Is there a way to do such thing with > Yocto, currently I run 'bitbake -c menuconfig linux-yocto' (or is it > yocto-linux, can't recall) and then I add 'kernel-modules' to > IMAGE_INSTALL_append in my 'local.conf'-file? I would like to have this > dependency some-how contained within my recipe. Are you primarily concerned with getting the kernel options enabled and then the built modules installed onto your target ? (I ask because TIPC userspace can come into play .. depending on your usecase). If so, you'd want to add a linux-yocto_3.4.bbappend (assuming you are using the 3.4 kernel) to your layer, and put your options into a .cfg fragment that you append to the SRC_URI (just like any patch or other file). Those options will be added to the config on your next build and installed. In that same layer, you can add kernel-modules to IMAGE_INSTALL and you'll get the build and install whenever the layer is active. There are other ways to do this as well, but what I have above is what I typically do in a distro or BSP layer. Cheers, Bruce > Thanks! > Best regards, > Jonas Jonsson > > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto