How to generate the SDK for RPI3 #dunfell #raspberrypi #sdk


Hi Team,

I've built OS for rpi3 using dunfell yocto. I've also generated SDK for the same, for that I've added these info in my local.conf file-

TOOLCHAIN_TARGET_TASK_append = " python3-dev kernel-dev kernel-devsrc"
TOOLCHAIN_HOST_TASK_append = " nativesdk-cmake"

and after this, it is generating kernel source also in SDK, but when I'm setting environment and utilizing kernel source to compile my kernel, then I'm getting following error-

make[2]: *** No rule to make target 'init/main.o', needed by 'init/built-in.a'.  Stop.
Makefile:1732: recipe for target 'init' failed
make[1]: *** [init] Error 2
make[1]: Leaving directory '/opt/poky/3.1.2/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/lib/modules/5.4.64-v7/build'
Makefile:23: recipe for target 'default' failed
make: *** [default] Error 2

So please help me resolve this issue, and if I'm missing any thing to add in local.conf file, so help me in that to generate proper sdk.

Join { to automatically receive all group messages.