| Summary: | eclipse-poky uses wrong cmake executable and toolchain file | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Eclipse Plugin | Reporter: | Dennis Menschel <menschel-d> |
| Component: | eclipse-plugin | Assignee: | brian avery <brian.avery> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Libertad <libertad.gonzalez.de.la.cruz> |
| Severity: | normal | ||
| Priority: | Undecided | CC: | ioanax.grigoropol, yp.ep.watcher, yp.watcher |
| Version: | 2.4 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Dennis Menschel
2017-11-18 12:22:19 UTC
A have to make some corrections about my previous report.
I have repeated the tests today and have found out that the "toolchain.cmake" file in the source directory is not used as an initial input, but is in fact created on the first build invocation of cmake from eclipse. That file already contains information about the cross compiler toolchain even if the wrong cmake executable is selected. The contents of "toolchain.cmake" and "${OECORE_NATIVE_SYSROOT}/usr/share/cmake/OEToolchainConfig.cmake" differ to some extend, but the project can indeed be cross compiled with the generated "toolchain.cmake" file. So I think that I must have made a mistake during my first test and have raised a false alarm. Sorry about that. Nonetheless I find it a bit irritating that eclipse-poky seems to generate the toolchain file itself instead of using the one from the SDK.
Furthermore, concerning the error I've mentioned about the wrong cmake executable being used, I've found out about a duplicate bug report (10919) which has already been closed with a "WONTFIX" status, since a workaround exists. So again, I apologize for the inconvenience.
*** This bug has been marked as a duplicate of bug 10919 ***
|