Yonghong Zhu
913795f7a2
BaseTools: Not compare the VOID* difference in the DSC and DEC file
...
For structure Pcd, the type defined in the DEC file is the struct name
while if this Pcd used in the DSC file, it should add VOID* keywords
when it have max size info. so this patch filter the type compare for
this case.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-10-13 10:07:16 +08:00
Yonghong Zhu
15298db95c
BaseTools: Enhance the *P Flag display for Structure Pcd
...
Cover the case:
1.only define the structure Pcd in DEC file, it should not have any
Flag.
2.In the DEC file and DSC file only have the PCD's default value, and
without the field value, it should have *P Flag.
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-10-13 10:06:37 +08:00
Yonghong Zhu
27f38c6d6e
BaseTools: remove the not used PyUtility file
...
the PyUtility is not used, so we remove it.
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-10-13 10:06:12 +08:00
Yunhua Feng
b87099f336
BaseTools: increment build generate inf file lost .depex file
...
increment build generate inf file in output directory lost .depex file info.
Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=1244
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 >
2018-10-13 10:01:36 +08:00
Yunhua Feng
ea787b6b55
BaseTools: update Test scripts support python3
...
update Test scripts support python3
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 >
2018-10-13 09:57:19 +08:00
Hess Chen
22c4de1ac8
BaseTools/Ecc/EOT: Add Python 3 support on ECC and EOT tools.
...
1. Add Python 3 support on ECC and EOT tools
2. Add C grammar file of ANTLR4 and fix some bugs
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-10-13 09:57:18 +08:00
Yunhua Feng
472eb3b896
BaseTools: Add --uefi option to enable UefiCompress method
...
Add one new option --uefi to enable UefiCompress.
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 >
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-10-13 09:57:17 +08:00
Yonghong Zhu
1b2e077260
BaseTools/UPT: Porting UPT Tool from Python2 to Python3
...
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-10-13 09:57:16 +08:00
Yunhua Feng
9d7e1e56a7
BaseTools/Scripts: Porting PackageDocumentTools code to use Python3
...
Porting PackageDocumentTools code to Python3
DoxyGen 1.8.6
wxpython 4.0.3
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 >
2018-10-13 09:57:16 +08:00
Yunhua Feng
c9486c8c9d
BaseTools: Update Makefile to ignore python tools make
...
ignore make python tools, replace PYTHON_HOME by PYTHON3
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 >
2018-10-13 09:57:15 +08:00
Yunhua Feng
d25c096d27
BaseTools: Use PYTHON3 variable instead of PYTHON_HOME
...
Use PYTHON3 variable instead of PYTHON_HOME path
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 >
2018-10-13 09:57:15 +08:00
Yunhua Feng
04c47cd401
BaseTools: Update windows and linux run scripts file to use Python3
...
Modify windows script, PosixLike script, edksetup.sh, edksetup.bat to
use Python3
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 >
2018-10-13 09:57:14 +08:00
Yunhua Feng
8be15c61e8
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 >
2018-10-13 09:57:13 +08:00
Yonghong Zhu
0e3bfc6f7a
BaseTools: Rename get_bytes_le() to bytes_le
...
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 >
2018-10-13 09:56:56 +08:00
Yunhua Feng
60dc40db2a
BaseTools: Update argparse arguments since it not have version now
...
argparse.ArgumentParser not have version 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 >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-10-13 09:54:54 +08:00
Yunhua Feng
2e300969ae
BaseTools: change the Division Operator in the expression
...
PEP 238 -- Changing the Division Operator
x/y to return a reasonable approximation of the mathematical result
of the division ("true division")
x//y to return the floor ("floor division")
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 >
2018-10-13 09:54:53 +08:00
Yunhua Feng
00fcce9153
BaseTools: do the list and iterator translation
...
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 >
2018-10-13 09:54:52 +08:00
Yunhua Feng
86e6cf98a8
BaseTools: Handle the bytes and str difference
...
Deal with bytes and str is different, remove the unicode()
Using utcfromtimestamp instead of fromtimestamp.
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 >
2018-10-13 09:54:07 +08:00
Yunhua Feng
a09f4c91f7
BaseTools: fix the open file's read and write bugs
...
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 >
2018-10-13 09:50:45 +08:00
Yunhua Feng
fe3991d635
BaseTools: use map and filter to replace the itertools function
...
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 >
2018-10-13 09:50:44 +08:00
Yunhua Feng
4ce4f757d7
BaseTools: remove the super() function argument
...
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 >
2018-10-13 09:50:43 +08:00
Yunhua Feng
5135cc4852
BaseTools: replace the list iteritems by items
...
replace the list iteritems by items in Python3.
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 >
2018-10-13 09:50:43 +08:00
Yunhua Feng
d3678942b4
BaseTools: Rename raw_input() to input()
...
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 >
2018-10-13 09:50:42 +08:00
Yunhua Feng
8371d87412
BaseTools: Rename long() to int()
...
Because the long() function was not exist in Python3.
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 >
2018-10-13 09:50:42 +08:00
Yunhua Feng
261eee25de
BaseTools: Rename xrange() to range()
...
Because the xrange() was not exist in Python3
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 >
2018-10-13 09:50:41 +08:00
Yunhua Feng
487062c048
BaseTools: Remove the "from __future__ import" items
...
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 >
2018-10-13 09:50:40 +08:00
Yunhua Feng
6693f359b3
BaseTools: Remove the outdated verbose parameter of namedtuple
...
the verbose is outdated.
in 3.6: The verbose and rename parameters became keyword-only arguments
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: Yonghong Zhu <yonghong.zhu@intel.com >
2018-10-13 09:50:39 +08:00
Liming Gao
dd4f667e70
BaseTools: Update Brotli Compress to the latest one 1.0.6
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1201
Update Brotli to the latest version 1.0.6
https://github.com/google/brotli
Verify VS2017, GCC5 build.
Verify Decompression boot functionality.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2018-10-09 22:27:32 +08:00
Liming Gao
50431b9cc7
BaseTools LzmaCompress: Fix GCC warning misleading-indentation
...
GCC 6 or above reports the warning misleading-indentation.
This patch fixes it.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1234
[lersek@redhat.com: reference the BZ that got reported meanwhile]
2018-10-09 11:47:25 +02:00
Liming Gao
5ec5a236d1
BaseTools Lzma: Update LZMA SDK version to 18.05
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1006
New formal release in https://www.7-zip.org/sdk.html is 18.05.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2018-10-09 09:31:09 +08:00
zhijufan
c526dcd40f
BaseTools: refactor the error for PCD value is negative or exceed max
...
refactor the error handling for the PCD value that is negative or it
exceed the max value.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-30 16:05:49 +08:00
bob.c.feng@intel.com
6a147d6dae
BaseTool: Support different PCDs that refers to the same EFI variable.
...
If Structure PCD and Normal Pcd refer to the
same EFI variable, do EFI variable merge, otherwise, do
EFI variable combination.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-09-26 22:50:40 +08:00
BobCF
57ee97c01c
BaseTool: Replace dict with OrderedDict.
...
Replace dict with OrderedDict for PCD so that
the pcd list has same order.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-09-26 22:50:36 +08:00
Liming Gao
f27e800a99
BaseTools: Fix the wrong reference _GetSkuIds() in AutoGen code
...
DscBuildData has been updated to define SkuIds instead of _GetSkuIds().
The consumer code should refer to SkuIds.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2018-09-26 22:15:42 +08:00
Zhao, ZhiqiangX
0fd04efd01
BaseTools: Latter full value should overwrite the former field value.
...
For structure Pcd, the latter full assign value in commandLine should
override the former field assign value. For example in commandLine,
build --pcd Token.pcd.field="haha" --pcd Token.pcd=H"{0x01,0x02}",
the former field value "haha" will be ignored and overwrite by the latter
full value "{0x01,0x02}".
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: ZhiqiangX Zhao <zhiqiangx.zhao@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Bob Feng <bob.c.feng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2018-09-25 09:43:51 +08:00
Carsey, Jaben
719fd85c73
BaseTools: refactor to cache InfBuildData data
...
use Common.caching and auto cache properties and functions of InfBuildData
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Bob Feng <bob.c.feng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:08 +08:00
Carsey, Jaben
4def57d98c
BaseTools: refactor to not overcreate ModuleAutoGen objects
...
currently created for 3 different purposes and saved once.
this makes it created once and saved and then referenced.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Bob Feng <bob.c.feng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:08 +08:00
Carsey, Jaben
6f73a03665
BaseTools: Don't save unused workspace data
...
FlexibleFieldName was never used not set.
DefinitionPosition (file and line number) are recalculated
and never used outside the function. remove the saving of the
data.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:07 +08:00
Carsey, Jaben
b0a2645162
BaseTools: refactor Build Database objects
...
1) use namedtuple instead of custom class when apropriate
2) rename collections.OrderedDict to OrderedDict since we import it already
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:07 +08:00
Carsey, Jaben
71cac3f791
BaseTools: Workspace classes refactor properties
...
1) use decorators
2) also change some private functions to public when all callers are
external
3) change external callers to use functions instead of directly
accessing private data.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:06 +08:00
Carsey, Jaben
6c204ed4f2
BaseTools: refactor class properties
...
use decorators and auto cache those that were cached manually
remove properties never used
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:06 +08:00
Carsey, Jaben
4c92c81d61
BaseTools: AutoGen - refactor class properties
...
use function decorators
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:06 +08:00
Carsey, Jaben
e6c62ab768
BaseTools: AutoGen refactor WorkspaceAutoGen class
...
Update the WorkspaceAutoGen class to use caching decorators and remove
the no longer needed private variables.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Bob Feng <bob.c.feng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:05 +08:00
Carsey, Jaben
e6eae3b4c7
BaseTools: Refactor PlatformAutoGen
...
use decorators for property and automatic caching
remove circular dependency between some APIs
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Bob Feng <Bob.c.Feng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-20 22:18:05 +08:00
zhijufan
ae57950fc8
BaseTools: Fix a bug for Unused PCDs section display in the report
...
Fix a regression issue caused by ac4578af36
, when there doesn't exist
not used PCD, it also display the not used Pcd section in the report.
Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=1170
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-18 09:41:26 +08:00
Yunhua Feng
3eb747c16b
BaseTools: Regression bug Linux script used windows format
...
regression by 15e2022825
and 9f3594782d
Linux execute script must use '\n' not '\r\n' for end of line
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: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-18 09:40:30 +08:00
Feng, YunhuaX
85e5d3cf6b
BaseTools: Check GUID C structure format
...
GUID C format must conform to {8,4,4,{2,2,2,2,2,2,2,2}}
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 >
2018-09-14 13:41:07 +08:00
zhijufan
7c41b8135d
BaseTools: Align the boolean type PCD value's display in the report
...
This patch align the boolean type PCD value's display in the build
report. Original it may display 0x0, also may use 0 for the same PCD.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-13 09:28:55 +08:00
Carsey, Jaben
eb2afe08ce
BaseTools\GenFds: remove extra content
...
remove uncalled functions
remove extra blank lines
remove commented out code
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2018-09-13 09:27:28 +08:00
Yonghong Zhu
4423f0bc61
BaseTools: Fix the RaiseError variable issue caused by 855698fb69
...
The bug is that it cause the RaiseError always be set to TRUE even we
call the function with FALSE parameter.
Cc: Hess Chen <hesheng.chen@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Hess Chen <hesheng.chen@intel.com >
2018-09-12 13:20:46 +08:00