From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by yocto-www.yoctoproject.org (Postfix) with SMTP id 75565E013BB for ; Thu, 7 Jun 2012 12:17:28 -0700 (PDT) Received: from [172.16.140.132] (172.16.140.132) by smtp.enea.com (172.21.1.209) with Microsoft SMTP Server id 14.2.247.3; Thu, 7 Jun 2012 21:17:27 +0200 Message-ID: <4FD0FE67.6090801@enea.com> Date: Thu, 7 Jun 2012 21:17:59 +0200 From: =?UTF-8?B?RGF2aWQgTnlzdHLDtm0=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: References: In-Reply-To: X-Originating-IP: [172.16.140.132] Subject: Re: Recipe question - source directory of depency parent 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: Thu, 07 Jun 2012 19:17:28 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Have a look at: poky/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb Use ${KERNEL_STAGING_DIR} to locate kernel sources. Br, David On 06/07/2012 09:12 PM, Jim Rucker wrote: > I'm creating a bitbake recipe for a package that is a loadable module, but > it requires the linux source directory in order to build. I added the > virtual/kernel package as our "DEPENDS", but when I run bitbake -e for my > target I don't see an environment variable that specifies where the source > is for the virtual/kernel package. Is there a way to get this, or am doing > this wrong? I put the .bb recipe in the same > meta-ourco/recipes-kernel/linux directory that has the .bb which builds the > linux kernel for our target, but in its own file, with its own "PROVIDES" > variable. > > > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto