diff options
author | Hess Chen <hesheng.chen@intel.com> | 2014-08-20 07:41:38 +0000 |
---|---|---|
committer | hchen30 <hchen30@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-20 07:41:38 +0000 |
commit | df0cee8d8ce6fefc7b38ac238479300bb3051298 (patch) | |
tree | 0c7b0069f9c276f9226366f004dcf11b22c45926 /BaseTools/Source/Python/GenFds | |
parent | 0a13a624136bf2b278851316d8eae23611d93ad2 (diff) | |
download | edk2-platforms-df0cee8d8ce6fefc7b38ac238479300bb3051298.tar.xz |
This patch is going to:
1. Fix a bug in GenFds for wrongly handling '"' of command line parameter.
2. Provide different input parameter mode for different OS. For Linux, using a list. For Windows, using a string.
3. Remove 3 un-existing function calling.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15847 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/GenFds')
-rw-r--r-- | BaseTools/Source/Python/GenFds/GenFds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/GenFds/GenFds.py b/BaseTools/Source/Python/GenFds/GenFds.py index 087f7ab356..c5ccda677b 100644 --- a/BaseTools/Source/Python/GenFds/GenFds.py +++ b/BaseTools/Source/Python/GenFds/GenFds.py @@ -157,7 +157,7 @@ def main(): if Options.Macros:
for Pair in Options.Macros:
- Pair.strip('"')
+ Pair = Pair.strip('"')
List = Pair.split('=')
if len(List) == 2:
if List[0].strip() == "EFI_SOURCE":
|