Out-of-tree driver doesn't find header files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Out-of-tree driver doesn't find header files

1,344 Views
carotte
Contributor III

Hi,

I know that this is not necessary a NXP issue, but I would still appreciate any suggestion.

I am trying to use an out-of-tree ASoC driver in my yocto layer. I have followed the OE example "hello-mod" for out-of-tree kernel modules. 

However, my driver requires some in-tree header files. 

When I try to compile the recipe, these header files are not found. 

Im sure there must be a way to edit the .bb file in order for it to make these files available to the build system.

Any suggestions would be highly appreciated !

Labels (4)
0 Kudos
4 Replies

1,334 Views
carotte
Contributor III

- duplicate reply -

0 Kudos

1,325 Views
igorpadykov
NXP Employee
NXP Employee

Hi Noel

 

since this is general yocto issue, one can post it on meta-fsl-arm mailing list

https://lists.yoctoproject.org/g/meta-freescale

 

Best regards
igor

0 Kudos

1,336 Views
carotte
Contributor III

Hi Igor, 
Thanks for your reply!
I have indeed used the method you suggested previously; using patches instead of out-of-tree kernel modules. 
However, for some reason I found that this does not show possible compile errors, which is essential if developing a driver on which one doesn't know if it works yet.
For example, I put #include "file_that_doesnt_exist" in a c file to be compiled, but it didn't show any errors, which it should.


0 Kudos