mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
Merge pull request #5444 from kevans91/freebsd-platform-tag
Add FreeBSD Platform Tag -- supports x86_64-freebsd, arm*-freebsd, an…
This commit is contained in:
commit
44c0c7300e
@ -79,6 +79,14 @@ public abstract class HostDependentDownloadableContribution extends Downloadable
|
||||
}
|
||||
}
|
||||
|
||||
if (osName.contains("FreeBSD")) {
|
||||
if (osArch.contains("arm")) {
|
||||
return host.matches("arm.*-freebsd[0-9]*");
|
||||
} else {
|
||||
return host.matches(osArch + "-freebsd[0-9]*");
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user