Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llext: xtensa: add support for the xt-clang toolchain #72940

Merged
merged 1 commit into from
May 29, 2024

Conversation

lyakh
Copy link
Collaborator

@lyakh lyakh commented May 17, 2024

To build LLEXT images using the xt-clang toolchain from Cadence linker flags have to be set similar to other toolchains. Add the missing cmake files.

pillo79
pillo79 previously approved these changes May 17, 2024
@lyakh lyakh requested a review from teburd May 17, 2024 13:18
teburd
teburd previously approved these changes May 17, 2024
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

include(${ZEPHYR_BASE}/cmake/compiler/xcc/target.cmake)

if("${ARCH}" STREQUAL "xtensa")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xt-clang is clang for xtensa, so why this test and CMake file split, as all this CMake code is for the xtensa architecture ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tejlmand could you re-check, please? I addressed your comment last Friday, 5 days ago.

@lyakh lyakh mentioned this pull request May 24, 2024
To build LLEXT images using the xt-clang toolchain from Cadence
linker flags have to be set similar to other toolchains. Add the
missing cmake files.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@carlescufi carlescufi merged commit 024bd41 into zephyrproject-rtos:main May 29, 2024
26 checks passed
@lyakh lyakh deleted the xtclang branch May 30, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants