]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: restrict UefiMultiPhase.h contents if VFRCOMPILE defined
authorLeif Lindholm <leif.lindholm@linaro.org>
Fri, 15 Dec 2017 16:08:17 +0000 (16:08 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Fri, 23 Feb 2018 14:22:44 +0000 (14:22 +0000)
commit8bbb56b485ba933cf76dc7480c8fff450989a573
tree10d2e220335f980842741a7d8e6cec3ba22665f5
parentd624deb7abf9ddce2a3a280eec233f5c5feb4f20
MdePkg: restrict UefiMultiPhase.h contents if VFRCOMPILE defined

Turns out all .vfr files in the tree interacting with DynamicPcds
manually copy the same set of EFI_VARIABLE_* definitions, since the rest
of UefiMultiPhase.h is incompatible with VfrCompile.

For now, reshuffle these definitions to the start of the file, and put
the rest of the file behind #ifndef VFRCOMPILE to permit direct
inclusion in .vfr source files.

https://bugzilla.tianocore.org/show_bug.cgi?id=878 has been raised to
request VfrCompile is extended to support the original format.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Uefi/UefiMultiPhase.h