Hi all, I would like to have kernel headers in my image, in order to locally build a module.
I added IMAGE_INSTALL:append = " kernel-dev" IMAGE_INSTALL:append = " kernel-devsrc" IMAGE_INSTALL:append = " kernel-modules" in my image recipe and, as a result, I see that /usr/src/kernel and /lib/modules/${uname -r}/build are now populated. But when I try to build my module (which builds correctly on a non-poky machine) I get: ./include/linux/compiler.h:247:10: fatal error: asm/rwonce.h No such file or directory And, in fact, there is no rwonce.h under /usr/src/kernel. There is one under /lib/modules... but it is in asm-generic/rwonce.h Any idea? Thank you in advance -- Daniele Lugli General Logic srl Viale Curreno, 41 10133 Torino Italy tel +39 329 3933041 www.general-logic.com ( http://www.general-logic.com/ ) www.linkedin.com/in/daniele- lugli ( http://www.linkedin.com/in/daniele-lugli )
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62258): https://lists.yoctoproject.org/g/yocto/message/62258 Mute This Topic: https://lists.yoctoproject.org/mt/103936013/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-