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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,829 次查看
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 !

标签 (4)
标记 (4)
0 项奖励
回复
4 回复数

1,819 次查看
carotte
Contributor III

- duplicate reply -

0 项奖励
回复

1,810 次查看
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 项奖励
回复

1,821 次查看
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 项奖励
回复