REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2520
Incremental build failure in CLANGPDB tool chain on Windows host The build failure is like below when do incremental build. The root cause is in generated deps_target file. It has one line ":". Signed-off-by: Zhiju.Fan <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> --- BaseTools/Source/Python/AutoGen/IncludesAutoGen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaseTools/Source/Python/AutoGen/IncludesAutoGen.py b/BaseTools/Source/Python/AutoGen/IncludesAutoGen.py index ca9e02d19b4a..0a6314266f45 100644 --- a/BaseTools/Source/Python/AutoGen/IncludesAutoGen.py +++ b/BaseTools/Source/Python/AutoGen/IncludesAutoGen.py @@ -111,6 +111,8 @@ class IncludesAutoGen(): continue dependency_file = item.strip(" \\\n") dependency_file = dependency_file.strip('''"''') + if dependency_file == '': + continue if os.path.normpath(dependency_file +".deps") == abspath: continue filename = os.path.basename(dependency_file).strip() -- 2.18.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#54277): https://edk2.groups.io/g/devel/message/54277 Mute This Topic: https://groups.io/mt/71208485/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
