From 599bb2be1f2b119dcde9e5a7515dc6f3d19eb29d Mon Sep 17 00:00:00 2001 From: "Feng, YunhuaX" Date: Fri, 26 Oct 2018 14:07:59 +0800 Subject: [PATCH] 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 Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng --- BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py index e867693d7c..ea61f723a7 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: -- 2.39.2