summaryrefslogtreecommitdiffstats
path: root/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java')
-rw-r--r--org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java b/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java
new file mode 100644
index 0000000..dda639d
--- /dev/null
+++ b/org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/IsRtemsToolChainSupported.java
@@ -0,0 +1,21 @@
+/**********************************************************************
+ * Copyright (c) 2008 RobertF.
+ * All rights reserved.
+ **********************************************************************/
+
+package org.rtems.cdt.toolchain;
+
+import org.eclipse.cdt.managedbuilder.core.IManagedIsToolChainSupported;
+import org.eclipse.cdt.managedbuilder.core.IToolChain;
+import org.eclipse.core.runtime.PluginVersionIdentifier;
+
+public class IsRtemsToolChainSupported implements IManagedIsToolChainSupported {
+ public IsRtemsToolChainSupported() {
+ }
+
+ public boolean isSupported(IToolChain toolChain,
+ PluginVersionIdentifier version, String instance) {
+ return RtemsEnvironmentVariableSupplier.toolChainSupported;
+ }
+
+}