Browse Source

Platform/PurleyOpenBoardPkg: Update DSC to use NetworkPkg DSC

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>
Shenglei Zhang 5 years ago
parent
commit
34036ce957
1 changed files with 9 additions and 0 deletions
  1. 9 0
      Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.dsc

+ 9 - 0
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