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

Khem Raj raj.khem at gmail.com
Sun Dec 20 13:51:58 PST 2015


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

>
>
> Any inputs will be of help. Is there any example kernel recipe that uses
> this feature?
>
>
> Regards, PJ
>
>
>
> --
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>


More information about the poky mailing list