]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Fix build error
authorGuo Dong <guo.dong@intel.com>
Tue, 8 Feb 2022 22:51:55 +0000 (15:51 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 29 Mar 2022 04:51:26 +0000 (04:51 +0000)
commit76191052fdc21acd8ca158cb0376aa2a570079e7
tree36ad3ee27055a5017fb2290cff6304fdc21fd868
parent237c966396977d60eed3a0da45989a0724635b38
UefiPayloadPkg: Fix build error

On windows build, need add "-DPLATFORMX64_ENABLE=TRUE" in the build
command line beside -DNETWORK_DRIVER_ENABLE=TRUE in order build
network features. So update DSC to set PLATFORMX64_ENABLE to TRUE
when building network feature.
On Linux build, DSC file should not have PcdAllowHttpConnections
without building network feature, else it would cause build error.

Signed-off-by: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Reviewed-by Sean Rhodes <sean@starlabs.systems>
UefiPayloadPkg/UefiPayloadPkg.dsc