[edk2-devel] [Patch V5 edk2-platform 16/18] Platform/PurleyOpenBoardPkg: Update DSC to use NetworkPkg DSC

Liming Gao liming.gao at intel.com
Tue May 21 14:35:28 UTC 2019


From: Shenglei Zhang <shenglei.zhang at 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 at intel.com>
Cc: Jiewen Yao <jiewen.yao at intel.com>
Cc: Shifei A Lu <shifei.a.lu at intel.com>
Cc: Xiaohu Zhou <bowen.zhou at intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang at intel.com>
Reviewed-by: Michael Kubacki <michael.a.kubacki at 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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#41152): https://edk2.groups.io/g/devel/message/41152
Mute This Topic: https://groups.io/mt/31697263/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list