After further investigation, it looks like this is not the issue. The issues are:
1. Make looks for asm/types.h, but there is only asm-generic/types.h in include/uapi/linux folder. This can be addressed by creating a symbolic link to asm-generic in the same folder. It does address the kernel module building error, but is it supposed to addressed this way? 2. Most header files in arch/arm/include/asm in the kernel source are not copied to SDK. It is not relevant to the kernel module building so far, but is it is supposed to be like this? 3. Some header files that don't exist in the kernel source and supposed to be generated during building process, like arch/arm64/include/asm/cpucaps.h, are not generated in the SDK. So, h ow to control the Yocto SDK generation so that these files are generated in SDK? Any input will be appreciated. Thanks! Crane
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64276): https://lists.yoctoproject.org/g/yocto/message/64276 Mute This Topic: https://lists.yoctoproject.org/mt/109491704/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-