[meta-freescale] build the Kernel Module on the target

Hans-Peter.Rosinger at freescale.com Hans-Peter.Rosinger at freescale.com
Fri Jan 31 06:40:22 PST 2014


Hi Daiane,

Thanks for the documentation link... I included "dev-pkgs" but still no headers on the target I can build against.
The build directory should be at /lib/modules/3.10.17-1.0.0_beta+gec1af9f/build right? 

HP


-----Original Message-----
From: Daiane Angolini [mailto:daiane.list at gmail.com] 
Sent: Friday, January 31, 2014 1:25 PM
To: Rosinger Hans-Peter-B38781
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] build the Kernel Module on the target

On Fri, Jan 31, 2014 at 9:01 AM, Hans-Peter.Rosinger at freescale.com <Hans-Peter.Rosinger at freescale.com> wrote:
> Hi,
>
>
>
> I am trying to build a Kernel Module on the target i.MX6Quad, 3.10.17) 
> with a sdk image
>
How did you create your sdk image?

The development packages are included via IMAGE_FEATURES [1]


So, include on your image file:

IMAGE_FEATURES += "dev-pkgs"

and any other value you think you may need.

[1] http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-features-image


Daiane
>
>
> But I am missing a build directory in
> /lib/modules/3.10.17-1.0.0_beta+gec1af9f
>
>
>
> Why isn't it included? Or is it somewhere different?
>
>
>
> Generally /lib/modules/$(shell uname -r)/build is where kernel
>
> module goes to look for kernel headers to build against.
>
>
>
> Thanks,
>
> Hans-Peter
>
>
>
>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>




More information about the meta-freescale mailing list