<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">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.
<br>
<br>
YoctoSDKUtils: Avoid NullPointerException when setting Yocto Properties <br>
<br>
[Yocto Bugzilla] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=3019<br>
<br>
When using a Toolchain where sysroot is not named <arch>-pokysdk-linux a NullPointerException is thrown when trying to apply changes in Yocto Preferences.
<br>
It should be possible to use Toolchains with a sysroot named <arch>-<organizationName>sdk-linux with the plugin.
<br>
<br>
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.<br>
<br>
<pre><font face="Tahoma">Signed-off-by: Björn Arnelid <bjorn.arnelid@enea.com></font></pre>
<br>
</div>
</body>
</html>