From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 171D8E00D4E; Wed, 23 Dec 2015 06:40:31 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (pj0585[at]gmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.51 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3FA1CE007C3 for ; Wed, 23 Dec 2015 06:40:29 -0800 (PST) Received: by mail-wm0-f51.google.com with SMTP id p187so151171655wmp.0 for ; Wed, 23 Dec 2015 06:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=K9AWPK+xlXAtBGmWFFMEGrB1VMivp+p17MhMi3S+zsE=; b=BypYPFIzTmJ/nbMH36H5EldCyWZO9j6UK++enUYoUHwPYVW6KYb9LqHeSC6WJpWqjW 3SJp3IXy52IAwa5CNj6KlEFnJ0c+1Gv5ZNecgVp5CcPgIIUUOTXA1lr7ZAhrHP6KhVtD nn2jjvgKOkt2GBDBUw6ohg4Bl2bI4ZZjUXohot4p7j1/AO68AJilqm5mMhuv+TyuJRHu hq/3qAiwjA1WB3gm9U2yLCQcMYjB7aF7pkW9VMVWgs6DrufoACnzMRj0qoND7i+y9q+N QE4QP7/r2t9ZW+Xro41x/+7xl2ln+6MwbvrWdbargigs0VZyCZsku6yybtYmtW9ReBHp t1Cg== MIME-Version: 1.0 X-Received: by 10.28.63.22 with SMTP id m22mr14908907wma.59.1450881629035; Wed, 23 Dec 2015 06:40:29 -0800 (PST) Received: by 10.28.215.132 with HTTP; Wed, 23 Dec 2015 06:40:28 -0800 (PST) In-Reply-To: References: Date: Wed, 23 Dec 2015 20:10:28 +0530 Message-ID: From: Prasant J To: Khem Raj Cc: "poky@yoctoproject.org" Subject: Re: Custom Kernel Recipe: How to specify KCFLAGS args during kernel build? X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion & patch submission for meta-yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2015 14:40:31 -0000 Content-Type: multipart/alternative; boundary=001a114b3ebc1c21c0052791b4c9 --001a114b3ebc1c21c0052791b4c9 Content-Type: text/plain; charset=UTF-8 On Mon, Dec 21, 2015 at 3:21 AM, Khem Raj wrote: > On Sun, Dec 20, 2015 at 4:38 AM, Prasant J wrote: > > Hi, > > > > When I was building the kernel outside the yocto project, I used to pass > > "KCFLAGS+=" argument during command line (make arguments). This would > > include my custom code, if I needed during the build. > > > > > > In my custom yocto layer, I am adding linux kernel recipe. How can I > specify > > "KCFLAGS+=" args in the bitbake recipe? > > Just like this. may be you can presend it with export if you want to > make it available to all tasks for that recipe > > > > > > Thanks Khem. I will try that. Regards, PJ --001a114b3ebc1c21c0052791b4c9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Dec 21, 2015 at 3:21 AM, Khem Raj <raj.khem@gmail.com>= wrote:
On Sun, D= ec 20, 2015 at 4:38 AM, Prasant J <p= j0585@gmail.com> wrote:
> Hi,
>
> When I was building the kernel outside the yocto project, I used to pa= ss
> "KCFLAGS+=3D" argument during command line (make arguments).= This would
> include my custom code, if I needed during the build.
>
>
> In my custom yocto layer, I am adding linux kernel recipe. How can I s= pecify
> "KCFLAGS+=3D" args in the bitbake recipe?

Just like this. may be you can presend it with export if you want to=
make it available to all tasks for that recipe

>
>


Thanks Khem. I wil= l try that.


Regards, PJ
=C2=A0
--001a114b3ebc1c21c0052791b4c9--