diff options
author | Yunhua Feng <yunhuax.feng@intel.com> | 2018-08-24 16:39:14 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-10-13 09:57:13 +0800 |
commit | 8be15c61e88709c55970c5d5272d19bd9bba67fb (patch) | |
tree | 0824e902da705ba8eb6a30d590fc2e27fd95ee73 /BaseTools/Source/Python/GenFds/FvImageSection.py | |
parent | 0e3bfc6f7a2b7b52cb684736d878e249edbff5cb (diff) | |
download | edk2-8be15c61e88709c55970c5d5272d19bd9bba67fb.tar.gz edk2-8be15c61e88709c55970c5d5272d19bd9bba67fb.tar.bz2 edk2-8be15c61e88709c55970c5d5272d19bd9bba67fb.zip |
BaseTools: Fix some build and report file issue
1. increment build not skip make file when not change any file
2. report file generate abundant blank line
3. Build encounter Database is locked on some platform, using database
auto commit
4. Fv BaseAddress must have if set
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>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/FvImageSection.py')
-rw-r--r-- | BaseTools/Source/Python/GenFds/FvImageSection.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/GenFds/FvImageSection.py b/BaseTools/Source/Python/GenFds/FvImageSection.py index 5cc5b969fd..f15df23514 100644 --- a/BaseTools/Source/Python/GenFds/FvImageSection.py +++ b/BaseTools/Source/Python/GenFds/FvImageSection.py @@ -102,6 +102,8 @@ class FvImageSection(FvImageSectionClassObject): Fv = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName)
if Fv is not None:
self.Fv = Fv
+ if not self.FvAddr and self.Fv.BaseAddress:
+ self.FvAddr = self.Fv.BaseAddress
FvFileName = Fv.AddToBuffer(Buffer, self.FvAddr, MacroDict = Dict, Flag=IsMakefile)
if Fv.FvAlignment is not None:
if self.Alignment is None:
|