[poky] Custom Kernel Recipe: How to specify KCFLAGS args during kernel build?

Prasant J pj0585 at gmail.com
Wed Dec 23 06:40:28 PST 2015


On Mon, Dec 21, 2015 at 3:21 AM, Khem Raj <raj.khem at gmail.com> wrote:

> On Sun, Dec 20, 2015 at 4:38 AM, Prasant J <pj0585 at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20151223/7af6a1c2/attachment.html>


More information about the poky mailing list