summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng, YunhuaX <yunhuax.feng@intel.com>2018-10-26 14:07:59 +0800
committerLiming Gao <liming.gao@intel.com>2018-10-26 14:13:47 +0800
commit599bb2be1f2b119dcde9e5a7515dc6f3d19eb29d (patch)
treeacbc572b305232d78f77a0a386e68bbc503bc868
parent1475b83f06afb980fa07d5a9a668309d48b57a91 (diff)
downloadedk2-599bb2be1f2b119dcde9e5a7515dc6f3d19eb29d.zip
edk2-599bb2be1f2b119dcde9e5a7515dc6f3d19eb29d.tar.gz
edk2-599bb2be1f2b119dcde9e5a7515dc6f3d19eb29d.tar.bz2
BaseTools: Roll back code modify by commit 9e47e6f90880
Roll back code modify by commit 9e47e6f90880, if ForceRebase not False or True, the GenFv command not need add parameter Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
-rw-r--r--BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
index e867693..ea61f72 100644
--- a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
+++ b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
@@ -574,9 +574,9 @@ class GenFdsGlobalVariable:
if BaseAddress:
Cmd += ("-r", BaseAddress)
- if not ForceRebase:
+ if ForceRebase == False:
Cmd += ("-F", "FALSE")
- else:
+ elif ForceRebase == True:
Cmd += ("-F", "TRUE")
if Capsule: