summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2008-12-02 14:38:37 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2008-12-02 14:38:37 +0000
commitae9cd29804117f28ed91f1e1052d610ee26de59c (patch)
tree61f66bc13715f1f7048204696ce37a65635b6042
parentUpdated the wizard page. (diff)
downloadrtems-eclipse-plug-in-ae9cd29804117f28ed91f1e1052d610ee26de59c.tar.bz2
Removed unnecessary PATH adjustment. This cause problems under Windows since 'Path' and 'PATH' are treated differently from Java.
-rw-r--r--org.rtems.cdt.toolchain2/org/rtems/cdt/Storage.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/org.rtems.cdt.toolchain2/org/rtems/cdt/Storage.java b/org.rtems.cdt.toolchain2/org/rtems/cdt/Storage.java
index 3fde958..22be333 100644
--- a/org.rtems.cdt.toolchain2/org/rtems/cdt/Storage.java
+++ b/org.rtems.cdt.toolchain2/org/rtems/cdt/Storage.java
@@ -82,13 +82,9 @@ public class Storage {
public static void updateTools( IProject project) {
// Create make process builder
ProcessBuilder pb = new ProcessBuilder( "make");
-
- // Prepend RTEMS base binary path to PATH environment variable
- Map<String, String> env = pb.environment();
- IPath binPath = new Path( getProperty( project, Constants.BASE_PATH_KEY)).append( "bin");
- env.put( "PATH", binPath.toOSString() + Constants.PATH_SEPERATOR + env.get( "PATH"));
-
+
// Provide RTEMS_MAKEFILE_PATH environment variable
+ Map<String, String> env = pb.environment();
env.put( "RTEMS_MAKEFILE_PATH", getProperty( project, Constants.BSP_PATH_KEY));
// Change working directory to the Makefile location