<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi all,<br><br></div>I need the kernel headers to show up in my SDK.<br><br></div>I'm running<br><br></div>$ bitbake <image name> -c populate_sdk<br><br></div>I've tried both of these, separately and together:<br>IMAGE_INSTALL += "kernel-devsrc"<br>TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc"<br><br></div>It always fails with this:<br>|
/local/mnt/workspace2/mollyn/platform/1aug/poky/build/tmp/work/qcom_bsp-poky-linux/kernel-devsrc/1.0-r0/image/usr/src/kernel/arch/arm64/boot/Makefile:17:
/local/mnt/workspace2/mollyn/platform/1aug/poky/build/tmp/work/custom_bsp-poky-linux/kernel-devsrc/1.0-r0/image/usr/src/kernel/arch/arm64/boot/dts/qcom/Makefile:
No such file or directory<br>
| make[2]: *** No rule to make target
`/local/mnt/workspace2/mollyn/platform/1aug/poky/build/tmp/work/custom_bsp-poky-linux/kernel-devsrc/1.0-r0/image/usr/src/kernel/arch/arm64/boot/dts/qcom/Makefile'.
Stop. <br><br>The virtual kernel is set like this in the machine conf file:<br>PREFERRED_PROVIDER_virtual/kernel = "linux-msm" <br><br></div>It's the exact issue described here:<br><a href="https://lists.yoctoproject.org/pipermail/yocto/2015-July/025453.html">https://lists.yoctoproject.org/pipermail/yocto/2015-July/025453.html</a><br><br></div>But the fix doesn't work for me.<br></div>Is there something we need to add to our kernel?<br><br></div></div>