[xtensa] How to reference a toolchain file in a CMakeLists.txt ? #97942
Unanswered
williamtcdns
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
That's more a CMake question as to how execute a program in A hack would be to do a Though, personally, I think it would be better to copy |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using the Xtensa Toolchain, and the environment variable
XTENSA_COREhas been properly set, from the shell you can reach toolchain files using something like:ls $(xt-run --show-config=config)/xtensa-elf/lib/sim-mc/mpu_table.cIf in a
soc/cdns/*/CMakeLists.txt, we wish to usezephyr_library_sources_ifdef(CONFIG_XTENSA_MPU mpu_table.c)but wantmpu_table.cto come from the expansion of$(xt-run --show-config=config)/xtensa-elf/lib/sim-mc/, how can it be accomplished ?Beta Was this translation helpful? Give feedback.
All reactions