\r
if not os.path.exists(ActivePlatform) :\r
EdkLogger.error("GenFds", FILE_NOT_FOUND, "ActivePlatform doesn't exist!")\r
-\r
- if os.path.normcase (ActivePlatform).find(Workspace) == 0:\r
- ActivePlatform = mws.relpath(ActivePlatform, Workspace)\r
- if len(ActivePlatform) > 0 :\r
- if ActivePlatform[0] == '\\' or ActivePlatform[0] == '/':\r
- ActivePlatform = ActivePlatform[1:]\r
- else:\r
- EdkLogger.error("GenFds", FILE_NOT_FOUND, "ActivePlatform doesn't exist!")\r
else:\r
EdkLogger.error("GenFds", OPTION_MISSING, "Missing active platform")\r
\r
- GenFdsGlobalVariable.ActivePlatform = PathClass(NormPath(ActivePlatform), Workspace)\r
+ GenFdsGlobalVariable.ActivePlatform = PathClass(NormPath(ActivePlatform))\r
\r
if (Options.ConfDirectory):\r
# Get alternate Conf location, if it is absolute, then just use the absolute directory name\r