Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2013-10-09 00:21:36 -0400
committerMarc-Andre Laperle2013-10-16 01:01:43 -0400
commitc644a857ba56c32171d4f5a738e19aea858f7faf (patch)
tree05025518cce17acc3f2857dd9c3523b3ce753ba6 /cross/org.eclipse.cdt.build.crossgcc/plugin.xml
parent35b004c5d48eff490a097a80530fea2bbe06ea81 (diff)
downloadorg.eclipse.cdt-c644a857ba56c32171d4f5a738e19aea858f7faf.tar.gz
org.eclipse.cdt-c644a857ba56c32171d4f5a738e19aea858f7faf.tar.xz
org.eclipse.cdt-c644a857ba56c32171d4f5a738e19aea858f7faf.zip
Bug 392404 - Change Cross GCC toolchain to use language setting provider
Add cross toolchain prefix to the command macro. Change-Id: I3188d21050b84fdc6d6a4b8d3b6aa540710f1790 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/17189
Diffstat (limited to 'cross/org.eclipse.cdt.build.crossgcc/plugin.xml')
-rw-r--r--cross/org.eclipse.cdt.build.crossgcc/plugin.xml17
1 files changed, 15 insertions, 2 deletions
diff --git a/cross/org.eclipse.cdt.build.crossgcc/plugin.xml b/cross/org.eclipse.cdt.build.crossgcc/plugin.xml
index e8ad4b0b32..5d69435108 100644
--- a/cross/org.eclipse.cdt.build.crossgcc/plugin.xml
+++ b/cross/org.eclipse.cdt.build.crossgcc/plugin.xml
@@ -23,9 +23,10 @@
configurationEnvironmentSupplier="org.eclipse.cdt.internal.build.crossgcc.CrossEnvironmentVariableSupplier"
id="cdt.managedbuild.toolchain.gnu.cross.base"
isAbstract="false"
+ languageSettingsProviders="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser;org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector"
name="%toolChain.name"
- targetTool="cdt.managedbuild.tool.gnu.cross.c.linker;cdt.managedbuild.tool.gnu.cross.cpp.linker;cdt.managedbuild.tool.gnu.archiver"
- osList="all">
+ osList="all"
+ targetTool="cdt.managedbuild.tool.gnu.cross.c.linker;cdt.managedbuild.tool.gnu.cross.cpp.linker;cdt.managedbuild.tool.gnu.archiver">
<targetPlatform
archList="all"
binaryParser="org.eclipse.cdt.core.ELF"
@@ -257,4 +258,16 @@
</toolchain>
</wizardPage>
</extension>
+ <extension
+ point="org.eclipse.cdt.core.LanguageSettingsProvider">
+ <provider
+ class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector"
+ id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector"
+ name="%CrossGCCBuiltinSpecsDetector.name"
+ parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;"
+ prefer-non-shared="true">
+ <language-scope id="org.eclipse.cdt.core.gcc"/>
+ <language-scope id="org.eclipse.cdt.core.g++"/>
+ </provider>
+ </extension>
</plugin>

Back to the top