]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2Pkg/GenCfgOpt.py: Incremental build with UPD in sub DSC.
authorChasel Chiu <chasel.chiu@intel.com>
Mon, 7 Dec 2020 10:13:52 +0000 (18:13 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 9 Dec 2020 12:26:10 +0000 (12:26 +0000)
commitf95e80d832e923046c92cd6f0b8208cec147138e
treeee6925614f836478d6b7850202d10aad7a948e37
parent7061294be500de021bef3d4bc5218134d223315f
IntelFsp2Pkg/GenCfgOpt.py: Incremental build with UPD in sub DSC.

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

Current script only compares main DSC and output file datetime
to determine if re-generation required or not.
When UPD defined in sub DSC and was modified current script cannot
detect and will not re-generate output files which caused incremental
build issue.

Since UPD can be defined in any sub DSC the script has been updated
to compare all DSC datetime with output files to determine re-generation
is needed or not.

Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Reviewed-by: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Tested-by: Yuwei Chen <yuwei.chen@intel.com>
IntelFsp2Pkg/Tools/GenCfgOpt.py