diff options
author | Marvin.Haeuser@outlook.com <Marvin.Haeuser@outlook.com> | 2018-05-19 13:50:25 +0300 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-05-28 08:05:00 +0300 |
commit | 5a57246eab80f00ae2481970d12a2abc345a2730 (patch) | |
tree | 432ca762bf2573de78649b75065193d3840432ba /BaseTools/Source/Python/AutoGen/GenMake.py | |
parent | ba94c38f08734fa10143f44955c705ed9d14faf4 (diff) | |
download | edk2-5a57246eab80f00ae2481970d12a2abc345a2730.tar.xz |
BaseTools: Rename String to StringUtils.
For case-insensitive file systems, edk2 String.py collides with the
Python string.py, which results in build errors. This,for example,
applies to building via the Windows Subsystem for Linux from a
DriveFS file system. This patch renames String to StringUtils to
prevent conflicts for case-insensitive file systems.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenMake.py')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/GenMake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py index a373507422..6e83b3d73e 100644 --- a/BaseTools/Source/Python/AutoGen/GenMake.py +++ b/BaseTools/Source/Python/AutoGen/GenMake.py @@ -22,7 +22,7 @@ from Common.LongFilePathSupport import OpenLongFilePath as open from Common.MultipleWorkspace import MultipleWorkspace as mws
from Common.BuildToolError import *
from Common.Misc import *
-from Common.String import *
+from Common.StringUtils import *
from BuildEngine import *
import Common.GlobalData as GlobalData
from collections import OrderedDict
|