[yocto] Patch to poky-eclipse

Björn Arnelid Bjorn.Arnelid at enea.com
Fri Aug 31 05:36:04 PDT 2012


Hi, I hope this is the right place to send a patch, if not could someone pleace point me in the right direction for sending patches.

YoctoSDKUtils: Avoid NullPointerException when setting Yocto Properties

[Yocto Bugzilla] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=3019

When using a Toolchain where sysroot is not named <arch>-pokysdk-linux a NullPointerException is thrown when trying to apply changes in Yocto Preferences.
It should be possible to use Toolchains with a sysroot named <arch>-<organizationName>sdk-linux with the plugin.

static private String findHostArch(File sysroot_dir) now accept folders named *sdk-linux instead of *-pokysdk-linux. checkYoctoSDK will also return SDKCheckResults.TOOLCHAIN_NO_SYSROOT if findHostArch returns null.


Signed-off-by: Björn Arnelid <bjorn.arnelid at enea.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120831/10505d5e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-YoctoSDKUtils-Avoid-NullPointerException-when-settin.patch
Type: text/x-patch
Size: 2773 bytes
Desc: 0001-YoctoSDKUtils-Avoid-NullPointerException-when-settin.patch
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120831/10505d5e/attachment.bin>


More information about the yocto mailing list