]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/GenFds/Section.py
BaseTools: Remove the dependency on the build intermediate file
authorBob Feng <bob.c.feng@intel.com>
Wed, 4 Nov 2020 11:29:45 +0000 (19:29 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Nov 2020 12:00:16 +0000 (12:00 +0000)
commit8d5708833509ece6ac63084dc07c8ac53c4d4c1a
tree990d1c325a887048b773e56b546fc36c41b62a7a
parent375683654d46380e4e557502141e9823f6b68445
BaseTools: Remove the dependency on the build intermediate file

When generating compressed section, the build tool rely on the
build intermediate files, which were generated in last build, to
get the file list. This method will cause the incremental build to
generate incorrect build result. To reproduce this incremental build
error, you can do:
1. build Ovmf
2. change the module OvmfPkg\AcpiTables a source file Facp.aslc
name from Facp.aslc to Facpxxx.aslc.
3. change the Facp.aslc file name in [sources] section of AcpiTables.inf
4. incremental build Ovmf

you will see the in AcpiTables module Makefile, the corresponding
Facp.acpi file is not changed.

This patch is to make the build always get file list from the INF.

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: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Source/Python/GenFds/Section.py