]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cmake: Fix CMAKE_SYSTEM_PROCESSOR setting for SDK
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 7 Sep 2022 22:38:51 +0000 (17:38 -0500)
committerSteve Sakoman <steve@sakoman.com>
Mon, 17 Jul 2023 17:28:01 +0000 (07:28 -1000)
commit7a7ef9d73affc23fa14712d56f1a40d0c46569cb
tree70284ff78bf8b23cc5a1a15d0bcd086330812ff3
parent843803bcc248b18cdefb29d610a1371e32e815ce
cmake: Fix CMAKE_SYSTEM_PROCESSOR setting for SDK

When building using an SDK, cmake complains that the target
architecture 'cortexa53-crypto' is unknown. The same build in bitbake
uses the target architecture 'aarch64'.

Set CMAKE_SYSTEM_PROCESSOR the same as for bitbake.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d32a6225eefce2073a1cd401034b5b4c68351bfe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake