-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Zephyr doesn't build if x86_64 SDK toolchain isn't install #22616
Comments
There's an assumption baked into |
Seems like we could move setting of CROSS_COMPILE_TARGET_${ARCH} into target.cmake, but we'd have an issue with ARM64. A few options on how we could possibly handle this -- we could move ARM64 boards into their own |
@carlocaione, @stephanosio @ioannisg @andrewboie @andyross @nashif @dcpleung adding you guys as a FYI to this discussion as there a bit of how do we handle architecture variants in play here. I could see xtensa & risc-v wanting something similar. |
Why is it unconditionally checking for the x86_64 toolchain? It should be checking for the toolchain used to build the board, this seems like a straightforward bug and not something that requires a lot of discussion. IOW it's not clear to me what the problem is, can you perhaps rephrase your problem statement? |
There are two files in play, generic.cmake and target.cmake We we do The two ideas I have so far are either encoding something in the path or encoding something in a cmake file that the we can get to from boards///. |
at first glance we might need a CONFIG_ARCH and CONFIG_SUB_ARCH or something so the toolchain to use is completely ambiguous early on 🤔 |
Have you looked at |
If using the Zephyr SDK and only having one arch toolchain (for example ARM) installed on a x86-host system we get the following:
The text was updated successfully, but these errors were encountered: