]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/GenFds/FfsFileStatement.py
BaseTools: Clean the ffs folder before generating files in it
authorBob Feng <bob.c.feng@intel.com>
Wed, 23 Sep 2020 11:21:04 +0000 (19:21 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 25 Sep 2020 02:27:35 +0000 (02:27 +0000)
commita8c77eba374cc90860172b29a191bf47c735000b
tree7373741a9a5c7e079dab2c1bf5d641b74546ee34
parentaec99d9bc3f7459e457e3346b493e534ccbdee8a
BaseTools: Clean the ffs folder before generating files in it

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

The content in Guid.xref depends on the files under the corresponding
ffs folder.(refer to the commit 5e9256cd7f54ffd6f1fd9837df92a911fcd2d7c2)
To make Guid.xref update in the incremental build,
clean the files under that ffs folder before generating files in it.

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