summaryrefslogtreecommitdiffstats
path: root/org.rtems.cdt.toolchain2/org/rtems/cdt/Constants.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.rtems.cdt.toolchain2/org/rtems/cdt/Constants.java')
-rw-r--r--org.rtems.cdt.toolchain2/org/rtems/cdt/Constants.java40
1 files changed, 36 insertions, 4 deletions
diff --git a/org.rtems.cdt.toolchain2/org/rtems/cdt/Constants.java b/org.rtems.cdt.toolchain2/org/rtems/cdt/Constants.java
index 1be8557..f18093b 100644
--- a/org.rtems.cdt.toolchain2/org/rtems/cdt/Constants.java
+++ b/org.rtems.cdt.toolchain2/org/rtems/cdt/Constants.java
@@ -26,6 +26,8 @@ public class Constants {
{"SPARC", "sparc"},
{"SuperH", "sh"}
};
+
+ public static final String PATH_SEPERATOR = System.getProperty( "path.separator");
public static final String DEFAULT_BASE_PATH = "/opt/rtems-4.9";
@@ -38,14 +40,44 @@ public class Constants {
public static final String DEFAULT_TARGET = TARGETS [DEFAULT_TARGET_INDEX][1];
public static final String DEFAULT_BSP_PATH = "/opt/rtems-4.9/powerpc-rtems4.9/psim";
+
+ public static final String KEY_PREFIX = "org.rtems.cdt.key";
+
+ public static final String BASE_PATH_KEY = KEY_PREFIX + ".basePath";
+
+ public static final String VERSION_KEY = KEY_PREFIX + ".version";
+
+ public static final String TARGET_KEY = KEY_PREFIX + ".target";
+
+ public static final String BSP_PATH_KEY = KEY_PREFIX + ".bspPath";
+
+ public static final String TOOL_KEY_PREFIX = KEY_PREFIX + ".tool";
+
+ public static final String TOOL_ARCHIVER_KEY = TOOL_KEY_PREFIX + ".archiver";
+
+ public static final String TOOL_ASSEMBLER_KEY = TOOL_KEY_PREFIX + ".assembler";
+
+ public static final String TOOL_COMPILER_C_KEY = TOOL_KEY_PREFIX + ".compiler.c";
+
+ public static final String TOOL_COMPILER_CPP_KEY = TOOL_KEY_PREFIX + ".compiler.cpp";
+
+ public static final String TOOL_LINKER_C_KEY = TOOL_KEY_PREFIX + ".linker.c";
+
+ public static final String TOOL_LINKER_CPP_KEY = TOOL_KEY_PREFIX + ".linker.cpp";
+
+ public static final String TOOL_OPTIONS_KEY_POSTFIX = ".options";
+
+ public static final String TOOL_OPTIONS_ARCHIVER_KEY = TOOL_ARCHIVER_KEY + TOOL_OPTIONS_KEY_POSTFIX;
+
+ public static final String TOOL_OPTIONS_ASSEMBLER_KEY = TOOL_ASSEMBLER_KEY + TOOL_OPTIONS_KEY_POSTFIX;
- public static final String BASE_PATH_KEY = "org.rtems.cdt.key.basePath";
+ public static final String TOOL_OPTIONS_COMPILER_C_KEY = TOOL_COMPILER_C_KEY + TOOL_OPTIONS_KEY_POSTFIX;
- public static final String VERSION_KEY = "org.rtems.cdt.key.version";
+ public static final String TOOL_OPTIONS_COMPILER_CPP_KEY = TOOL_COMPILER_CPP_KEY + TOOL_OPTIONS_KEY_POSTFIX;
- public static final String TARGET_KEY = "org.rtems.cdt.key.target";
+ public static final String TOOL_OPTIONS_LINKER_C_KEY = TOOL_LINKER_C_KEY + TOOL_OPTIONS_KEY_POSTFIX;
- public static final String BSP_PATH_KEY = "org.rtems.cdt.key.bspPath";
+ public static final String TOOL_OPTIONS_LINKER_CPP_KEY = TOOL_LINKER_CPP_KEY + TOOL_OPTIONS_KEY_POSTFIX;
private Constants() {
// Do nothing