From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: liming.gao@intel.com) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by groups.io with SMTP; Tue, 21 May 2019 07:35:45 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2019 07:35:44 -0700 X-ExtLoop1: 1 Received: from lgao4-mobl1.ccr.corp.intel.com ([10.255.28.21]) by fmsmga008.fm.intel.com with ESMTP; 21 May 2019 07:35:43 -0700 From: "Liming Gao" To: devel@edk2.groups.io Cc: Shenglei Zhang , Michael A Kubacki , Jiewen Yao , Shifei A Lu , Xiaohu Zhou Subject: [Patch V5 edk2-platform 16/18] Platform/PurleyOpenBoardPkg: Update DSC to use NetworkPkg DSC Date: Tue, 21 May 2019 22:35:28 +0800 Message-Id: <20190521143528.18920-1-liming.gao@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 From: Shenglei Zhang 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 Cc: Jiewen Yao Cc: Shifei A Lu Cc: Xiaohu Zhou Signed-off-by: Shenglei Zhang Reviewed-by: Michael Kubacki --- 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