* Custom Kernel Recipe: How to specify KCFLAGS args during kernel build?
@ 2015-12-20 12:38 Prasant J
2015-12-20 21:51 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Prasant J @ 2015-12-20 12:38 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
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?
Any inputs will be of help. Is there any example kernel recipe that uses
this feature?
Regards, PJ
[-- Attachment #2: Type: text/html, Size: 566 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Custom Kernel Recipe: How to specify KCFLAGS args during kernel build?
2015-12-20 12:38 Custom Kernel Recipe: How to specify KCFLAGS args during kernel build? Prasant J
@ 2015-12-20 21:51 ` Khem Raj
2015-12-23 14:40 ` Prasant J
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2015-12-20 21:51 UTC (permalink / raw)
To: Prasant J; +Cc: poky
On Sun, Dec 20, 2015 at 4:38 AM, Prasant J <pj0585@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Custom Kernel Recipe: How to specify KCFLAGS args during kernel build?
2015-12-20 21:51 ` Khem Raj
@ 2015-12-23 14:40 ` Prasant J
0 siblings, 0 replies; 3+ messages in thread
From: Prasant J @ 2015-12-23 14:40 UTC (permalink / raw)
To: Khem Raj; +Cc: poky
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]
On Mon, Dec 21, 2015 at 3:21 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Sun, Dec 20, 2015 at 4:38 AM, Prasant J <pj0585@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
[-- Attachment #2: Type: text/html, Size: 1252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-23 14:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-20 12:38 Custom Kernel Recipe: How to specify KCFLAGS args during kernel build? Prasant J
2015-12-20 21:51 ` Khem Raj
2015-12-23 14:40 ` Prasant J
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.