1 | /* |
---|
2 | * Copyright (c) 2008 |
---|
3 | * Embedded Brains GmbH |
---|
4 | * Obere Lagerstr. 30 |
---|
5 | * D-82178 Puchheim |
---|
6 | * Germany |
---|
7 | * rtems@embedded-brains.de |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be found in the file |
---|
10 | * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. |
---|
11 | */ |
---|
12 | |
---|
13 | package org.rtems.cdt; |
---|
14 | |
---|
15 | public class Constants { |
---|
16 | public static final String [][] TARGETS = { |
---|
17 | {"ARM", "arm"}, |
---|
18 | {"AVR", "avr"}, |
---|
19 | {"Blackfin", "bfin"}, |
---|
20 | {"Hitachi H8300", "h8300"}, |
---|
21 | {"Intel i386", "i386"}, |
---|
22 | {"Intel i686", "i686"}, |
---|
23 | {"MIPS", "mips"}, |
---|
24 | {"Motorola 68k or Freescale ColdFire", "m68k"}, |
---|
25 | {"PowerPC", "powerpc"}, |
---|
26 | {"SPARC", "sparc"}, |
---|
27 | {"SuperH", "sh"} |
---|
28 | }; |
---|
29 | |
---|
30 | public static final String PATH_SEPERATOR = System.getProperty( "path.separator"); |
---|
31 | |
---|
32 | public static final String DEFAULT_BASE_PATH = "/opt/rtems-4.9"; |
---|
33 | |
---|
34 | public static final String DEFAULT_VERSION = "4.9"; |
---|
35 | |
---|
36 | public static final int DEFAULT_TARGET_INDEX = 8; |
---|
37 | |
---|
38 | public static final String DEFAULT_TARGET_NAME = TARGETS [DEFAULT_TARGET_INDEX][0]; |
---|
39 | |
---|
40 | public static final String DEFAULT_TARGET = TARGETS [DEFAULT_TARGET_INDEX][1]; |
---|
41 | |
---|
42 | public static final String DEFAULT_BSP_PATH = "/opt/rtems-4.9/powerpc-rtems4.9/psim"; |
---|
43 | |
---|
44 | public static final String KEY_PREFIX = "org.rtems.cdt.key"; |
---|
45 | |
---|
46 | public static final String BASE_PATH_KEY = KEY_PREFIX + ".basePath"; |
---|
47 | |
---|
48 | public static final String VERSION_KEY = KEY_PREFIX + ".version"; |
---|
49 | |
---|
50 | public static final String TARGET_KEY = KEY_PREFIX + ".target"; |
---|
51 | |
---|
52 | public static final String BSP_PATH_KEY = KEY_PREFIX + ".bspPath"; |
---|
53 | |
---|
54 | public static final String TOOL_KEY_PREFIX = KEY_PREFIX + ".tool"; |
---|
55 | |
---|
56 | public static final String TOOL_ARCHIVER_KEY = TOOL_KEY_PREFIX + ".archiver"; |
---|
57 | |
---|
58 | public static final String TOOL_ASSEMBLER_KEY = TOOL_KEY_PREFIX + ".assembler"; |
---|
59 | |
---|
60 | public static final String TOOL_COMPILER_C_KEY = TOOL_KEY_PREFIX + ".compiler.c"; |
---|
61 | |
---|
62 | public static final String TOOL_COMPILER_CPP_KEY = TOOL_KEY_PREFIX + ".compiler.cpp"; |
---|
63 | |
---|
64 | public static final String TOOL_LINKER_C_KEY = TOOL_KEY_PREFIX + ".linker.c"; |
---|
65 | |
---|
66 | public static final String TOOL_LINKER_CPP_KEY = TOOL_KEY_PREFIX + ".linker.cpp"; |
---|
67 | |
---|
68 | public static final String TOOL_OPTIONS_KEY_POSTFIX = ".options"; |
---|
69 | |
---|
70 | public static final String TOOL_OPTIONS_ARCHIVER_KEY = TOOL_ARCHIVER_KEY + TOOL_OPTIONS_KEY_POSTFIX; |
---|
71 | |
---|
72 | public static final String TOOL_OPTIONS_ASSEMBLER_KEY = TOOL_ASSEMBLER_KEY + TOOL_OPTIONS_KEY_POSTFIX; |
---|
73 | |
---|
74 | public static final String TOOL_OPTIONS_COMPILER_C_KEY = TOOL_COMPILER_C_KEY + TOOL_OPTIONS_KEY_POSTFIX; |
---|
75 | |
---|
76 | public static final String TOOL_OPTIONS_COMPILER_CPP_KEY = TOOL_COMPILER_CPP_KEY + TOOL_OPTIONS_KEY_POSTFIX; |
---|
77 | |
---|
78 | public static final String TOOL_OPTIONS_LINKER_C_KEY = TOOL_LINKER_C_KEY + TOOL_OPTIONS_KEY_POSTFIX; |
---|
79 | |
---|
80 | public static final String TOOL_OPTIONS_LINKER_CPP_KEY = TOOL_LINKER_CPP_KEY + TOOL_OPTIONS_KEY_POSTFIX; |
---|
81 | |
---|
82 | private Constants() { |
---|
83 | // Do nothing |
---|
84 | } |
---|
85 | } |
---|