mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-21 07:05:58 +02:00
Bug 480181 - Missing Arduino tools host choice for Linux
Change-Id: Icd47871214a21fcbc322b61abfb201d23b31ba7d
This commit is contained in:
parent
8e38e98780
commit
14b6ad286e
1 changed files with 14 additions and 2 deletions
|
@ -60,9 +60,21 @@ public class ArduinoToolSystem {
|
||||||
case Platform.OS_LINUX:
|
case Platform.OS_LINUX:
|
||||||
switch (Platform.getOSArch()) {
|
switch (Platform.getOSArch()) {
|
||||||
case Platform.ARCH_X86_64:
|
case Platform.ARCH_X86_64:
|
||||||
return "x86_64-pc-linux-gnu".equals(host); //$NON-NLS-1$
|
switch (host) {
|
||||||
|
case "x86_64-pc-linux-gnu": //$NON-NLS-1$
|
||||||
|
case "x86_64-linux-gnu": //$NON-NLS-1$
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
case Platform.ARCH_X86:
|
case Platform.ARCH_X86:
|
||||||
return "i686-pc-linux-gnu".equals(host); //$NON-NLS-1$
|
switch (host) {
|
||||||
|
case "i686-pc-linux-gnu": //$NON-NLS-1$
|
||||||
|
case "i686-linux-gnu": //$NON-NLS-1$
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue