On Fri, Nov 15, 2024 at 11:22 AM, Gyorgy Sarvari wrote: > > Random idea: have you tried including kernel-devsrc when generating the > sdk? > > TOOLCHAIN_TARGET_TASK:append = " kernel-devsrc " > > This supposed to include the final files from the KERNEL_STAGING_DIR, > which should have all the generated headers and other stuff. > > (As a quick check having this task, e.g. I could find my board dependent > cpucaps.h and headers from arch/arm64/include/asm folder also in my sdk. > Haven't loaded tried to load the source in an IDE nor tried to compile > anything with it, however.)
Thank you Gyorgy for your reply. Later I manually fix the issues by doing below: 1. generate two symbolic link asm pointing to asm-generic 2. copy cpucaps and sysreg-defs.h 3. copy fixdep and modpost All these files are generated in STAGING_KERNEL_DIR, but are not copied to kernel headers in SDK sysroots. After adding kernel-devsrc to TOOLCHAIN_TARGET_TASK as you suggested, also tried together with kernel-dev and kernel-modules, there files are still not copied.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64284): https://lists.yoctoproject.org/g/yocto/message/64284 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] -=-=-=-=-=-=-=-=-=-=-=-