Skip to content

Commit

Permalink
LLEXT: Xtensa: don't generate FLIX commands
Browse files Browse the repository at this point in the history
The LLEXT linker for Xtensa cannot relocate FLIX commands, disable
them in extensions only until we have a solution. Note, that this
only affects extensions, the main Zephyr binary is still built with
FLIX commands.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
  • Loading branch information
lyakh authored and fabiobaltieri committed Nov 20, 2024
1 parent 30fa485 commit 827909b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/compiler/xt-clang/target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ set(LLEXT_APPEND_FLAGS ${LLEXT_APPEND_FLAGS}
else()
set(LLEXT_APPEND_FLAGS ${LLEXT_APPEND_FLAGS}
-ffreestanding
-mno-generate-flix
)
endif()

0 comments on commit 827909b

Please sign in to comment.