]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Trim/Trim.py
BaseTools: Warn user the file not found issue instead of break build.
authorBob Feng <bob.c.feng@intel.com>
Mon, 1 Jun 2020 06:40:10 +0000 (14:40 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 7 Jun 2020 13:36:33 +0000 (13:36 +0000)
commitcfd73e0065f523e1d56bb32b5c9d48e162c903f8
tree98f047bed02c3b506860b297a0e4f37c25adde8f
parent28dd887d68409c8788c858e29063ee599ebaaa91
BaseTools: Warn user the file not found issue instead of break build.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2770

The Trim.py would break the build process when the file not found
issue occures, however sometimes we do not care about this issue.
This patch changes the error with warning in order to solve this
kind of break.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Bob Feng<bob.c.feng@intel.com>
BaseTools/Source/Python/Trim/Trim.py