public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch V5 edk2-platform 16/18] Platform/PurleyOpenBoardPkg: Update DSC to use NetworkPkg DSC
@ 2019-05-21 14:35 Liming Gao
  0 siblings, 0 replies; only message in thread
From: Liming Gao @ 2019-05-21 14:35 UTC (permalink / raw)
  To: devel
  Cc: Shenglei Zhang, Michael A Kubacki, Jiewen Yao, Shifei A Lu,
	Xiaohu Zhou

From: Shenglei Zhang <shenglei.zhang@intel.com>

This patch updates the platform DSC files to use the include fragment
files provided by NetworkPkg. And add network related definition in
Purley PlatformPkg.dsc.

Cc: Michael A Kubacki <michael.a.kubacki@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Shifei A Lu <shifei.a.lu@intel.com>
Cc: Xiaohu Zhou <bowen.zhou@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Michael Kubacki <michael.a.kubacki@intel.com>
---
In V5:
Only update this patch to move those definitions after Include PCD setting

 Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.dsc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.dsc b/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.dsc
index de1a3965d7..595ffd4144 100644
--- a/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.dsc
+++ b/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.dsc
@@ -77,6 +77,15 @@
 !include $(SKT_PKG)/SktCommonLib.dsc
 !include $(PCH_PKG)/PchCommonLib.dsc
 
+[Defines]
+  !if gAdvancedFeaturePkgTokenSpaceGuid.PcdNetworkEnable == TRUE
+    DEFINE NETWORK_TLS_ENABLE             = FALSE
+    DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
+  !else
+    DEFINE NETWORK_ENABLE                 = FALSE
+  !endif
+!include NetworkPkg/NetworkDefines.dsc.inc
+
 [LibraryClasses.common]
 !if gPlatformTokenSpaceGuid.PcdFastBoot == FALSE
   PlatformBootManagerLib|MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
-- 
2.13.0.windows.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-21 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-21 14:35 [Patch V5 edk2-platform 16/18] Platform/PurleyOpenBoardPkg: Update DSC to use NetworkPkg DSC Liming Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox