]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Sep 2022 11:24:38 +0000 (12:24 +0100)
commitd32a6225eefce2073a1cd401034b5b4c68351bfe
tree1eefe99ea9f7279317bd292954576814a621a870
parent37c122dfdac03a98bf2bf8c8f7676ec25136d402
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>
meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake