]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Trim/Trim.py
BaseTools: Incremental build issue for included ASI file's deletion.
authorMingyue Liang <mingyuex.liang@intel.com>
Mon, 9 Nov 2020 02:51:21 +0000 (10:51 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Nov 2020 00:24:06 +0000 (00:24 +0000)
commit0af7f8e6a9253960ba820cd6ddfd8c36543d30cb
treeb17688a857b450ebff22a96f451a352509fbb902
parent1366cd58cd4459f00b4ecf5abed13e77ac4ad06c
BaseTools: Incremental build issue for included ASI file's deletion.

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

When using incremental build to delete an included xxx.asi file from
the ASL file, the xxx.asl.trim.deps file generated by previous build
process will not be deleted from the OUTPUT directory, which caused
the dependency file still include the xxx.asl.trim.deps file.

If the include file is deleted and DEPs is empty.

Signed-off-by: Mingyue Liang <mingyuex.liang@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/Trim/Trim.py