]> 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 14:45:01 +0000 (04:45 -1000)
commitd877d5f07772ec4a05332068ddc03cf387313036
tree2f64d3c230c1cfeda38374e7900d099d635107a2
parentc349c7fcb299b123824da9a13ee58222a6cbf9ec
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