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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,904件の閲覧回数
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,894件の閲覧回数
carotte
Contributor III

- duplicate reply -

0 件の賞賛
返信

1,885件の閲覧回数
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,896件の閲覧回数
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 件の賞賛
返信