admin管理员组文章数量:1431420
I have a module that requires to use external source files(.cpp .c .h)
from my module srcs.
In order to keep project sanity, I would like to have these external libraries srcs (used in my kernel module) compiled in my module but keeping the src externally.
This works with a makefile that links the srcs into my module folder and compiles and link them. But now I would like to achieve that with yocto. Any suggestions on best practices ?
This is how it would look like
├── external_srcs/
│ └──**some_lib_srcs**
│ └── dummy.c
│ └── dummy.h
├── project-spec/
│ └──meta-user
│ └── conf
│ └── **recipes-modules**
│ └── my-module
│ └── files
│ └── main.c
│ └── recipes-apps
│ └── recipes-bsp
本文标签: makefileYocto module recipe with external extra srcsStack Overflow
版权声明:本文标题:makefile - Yocto module recipe with external extra srcs - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745563577a2663623.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论