Commit ba2a2943 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Attempt to set RTEMS cross in the path when it's not already there.

parent 8eb74c4e
......@@ -395,6 +395,10 @@ def SetEnvForRTEMS(platformType):
elif platformType.startswith("PLATFORM_GUMSTIX_RTEMS"):
os.putenv("RTEMS_MAKEFILE_PATH", os.environ[src])
RCCPATH = os.sep.join(RMP.split(os.sep)[:-2] + ["bin"])
if RCCPATH not in os.getenv("PATH"):
os.putenv("PATH", RCCPATH + ":" + os.getenv("PATH"))
except KeyError:
panic("You must configure %s in your environment" % src)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment