]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/GenMake.py
BaseTool: Fixed incremental rebuild issue.
authorFeng, Bob C <bob.c.feng@intel.com>
Wed, 20 Feb 2019 15:21:31 +0000 (23:21 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Fri, 22 Feb 2019 07:47:14 +0000 (15:47 +0800)
commitf747640bf333801062b3b8837e7cfcda75ad6215
treed1ea915b49b48021fb2af1ef83c51dfeb231a163
parent4247c24fba94283e74c97103e0b9b67da9b4ea5b
BaseTool: Fixed incremental rebuild issue.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1540

This issue in introduced by commit
d943b0c339fe3d35ffdf9f580ccb7a55915c6854

To convert bytes to string, we need to use bytes.decode()
instead of using str(bytes).

If the source file is not a txt file, ignore that file.

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>
BaseTools/Source/Python/AutoGen/GenMake.py
BaseTools/Source/Python/Workspace/DscBuildData.py