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 !
- duplicate reply -
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
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.
Hi Noel
may be useful to look on
https://wiki.yoctoproject.org/wiki/TipsAndTricks/Patching_the_source_for_a_recipe
Best regards
igor