Skip to content
Commit 42e68397 authored by Jagadeesh Krishnanjanappa's avatar Jagadeesh Krishnanjanappa Committed by Richard Purdie
Browse files

cmake: support to create per-toolchain cmake file in SDK



The patch creates ${MULTIMACH_TARGET_SYS}-toolchain.cmake file
at ${SDK_INSTALL_DIR}/sysroots/${SDK_SYS}/usr/share/cmake/, which is
per-toolchain CMake toolchain file containing arch-specific values
and independent of OE environment variables.
The file gets created after installing SDK toolchain installer
ined by running "bitbake -c populate_sdk <image>".

The changes are similar to meson-setup.py which is used to
create arch-specific
${SDK_INSTALL_DIR}/sysroots/${SDK_SYS}/usr/share/meson/*-meson.cross

[YOCTO #14644]

Tested-by: default avatarJan Dorniak <jaskij@gmail.com>
Signed-off-by: default avatarJagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 400aae43
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment