Enable edk2 network settings when edk2 Redfish foundation is enabled Signed-off-by: Nickle Wang <nickle.w...@hpe.com> Cc: Abner Chang <abner.ch...@hpe.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Andrew Fish <af...@apple.com> Cc: Ray Ni <ray...@intel.com> --- EmulatorPkg/EmulatorPkg.dsc | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index ba11d249ec8..68371c96860 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -42,6 +42,16 @@ # DEFINE REDFISH_ENABLE = TRUE +!if $(REDFISH_ENABLE) == TRUE + # + # Allow HTTP connection for Redfish profile simulator. + # + DEFINE NETWORK_SNP_ENABLE = TRUE + DEFINE NETWORK_IP6_ENABLE = TRUE + DEFINE NETWORK_HTTP_ENABLE = TRUE + DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE +!endif + [SkuIds] 0|DEFAULT -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#82921): https://edk2.groups.io/g/devel/message/82921 Mute This Topic: https://groups.io/mt/86672060/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-