| Summary: | Target dropdown is not updated automatically and contains empty string as default | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Eclipse Plugin | Reporter: | Anna Dushistova <anna.dushistova> |
| Component: | eclipse-plugin | Assignee: | Jessica <jessica.zhang> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | kevin.tian, lianhao.lu, liping.ke, sgw, yp.ep.watcher, yp.watcher |
| Version: | 1.0 | ||
| Target Milestone: | 1.0 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Anna Dushistova
2010-11-11 05:56:02 UTC
Hi Anna, We leave it's empty on purpose with 2 reasons: 1. user has not setup their SDK, we build the target list based on the user SDK location setup, so there's the possibility it's not setup yet, so the list will be empty. 2. we support 4 arches: x86, arm, ppc, mips, we don't want to play any preference against any of them, so by default, we leave the entry empty to let the use explicit pick one if there's a list... Jessica, I did set up my SDK, why is it still empty as default? I installed the arm one, I assume that since it's the only one that I have at the moment, it should show up automatically. Hi, Anna The logic of showing the available arch internal is below: For SDK mode 1) select SDK 2) the folder should be /opt/poky 3) Please check your /opt/poky, can you see some environment script file, for example, if it is arm, it should be environment-setup-armv5te-poky-linux-gnueabi. If 3) is true, in the target combo box, I will show one arch armv5te-poky-linux-gnueabi. If you installed several tarball, more architecture will be shown, such as if there's environment-setup-i586-poky-linux, then another item i586-poky-linux will be shown in the target box. Can you help to check the existence of environment setup file under your /opt/poky directory? Thanks a lot! criping (In reply to comment #2) > Jessica, > I did set up my SDK, why is it still empty as default? > I installed the arm one, I assume that since it's the only one that I have at > the moment, it should show up automatically. Liping, What Anna is saying is that since she only has one arch (arm), it should be auto picked. Only once there's a list, we default to empty... I kind of agree that's one smart logic we need to have in our code... Oh, that's reasonable. I will fix the problem when I have time. Thanks& Regards, criping (In reply to comment #4) > Liping, > > What Anna is saying is that since she only has one arch (arm), it should be > auto picked. Only once there's a list, we default to empty... I kind of agree > that's one smart logic we need to have in our code... I fixed the issue in commit 0cfe036 |