building zephyr app for M-core with yocto?

Has anyone managed to automate zephyr build with yocto without using external toolchains/SDKs?

All the zephyr layers are deprecated and old. All my tries to fetch everything and build have failed…