The cmake-setup.py generates the file based on SDKToolchainConfig.cmake.template and installs it in 'usr/share/cmake/%s-toolchain.cmake'. Then, the OEToolchainConfig.cmake file only looks for files inside of /usr/share/cmake/OEToolchainConfig.cmake.d/* and so the {arch}-toolchain.cmake file never gets included when you source the SDK. Related files: openembedded-core/meta/recipes-devtools/cmake/cmake_3.31.6.bb openembedded-core/meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake openembedded-core/meta/recipes-devtools/cmake/cmake/cmake-setup.py Versions: I am currently using ((yocto-5.0.5)) tag but when I checked out master there seems to be the same issue.