From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com []) by mx.groups.io with SMTP id smtpd.web10.31256.1605029827145466395 for ; Tue, 10 Nov 2020 09:37:11 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: zhichao.gao@intel.com) IronPort-SDR: 6rJiMTa9KnMZ9ALijdcWlB7HaXDM95mBfVt9XikKMJyWxrDaY12U9G++mt/Of3/DXQvCWrWIOl 6VUcQunC/28g== X-IronPort-AV: E=McAfee;i="6000,8403,9801"; a="169234280" X-IronPort-AV: E=Sophos;i="5.77,466,1596524400"; d="scan'208";a="169234280" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2020 09:37:11 -0800 IronPort-SDR: 87GLjADm2FpufTnQvSP4X62MRPrgN+hr5flcwP2CugBSzI1R4vBjKWW8eP5iOgPWSJJp5KjoiO lqw6LZBQ1VeQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,466,1596524400"; d="scan'208";a="473509640" Received: from fieedk001.ccr.corp.intel.com ([10.239.153.118]) by orsmga004.jf.intel.com with ESMTP; 10 Nov 2020 09:37:09 -0800 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel Subject: [PATCH V3 08/12] OvmfPkg/OvmfPkgIa32X64.dsc: Enable MD5 while enable iSCSI Date: Wed, 11 Nov 2020 01:36:47 +0800 Message-Id: <20201110173651.54036-9-zhichao.gao@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20201110173651.54036-1-zhichao.gao@intel.com> References: <20201110173651.54036-1-zhichao.gao@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3003 There is a plan to make MD5 disable as default. The new MACRO ENABLE_MD5_DEPRECATED_INTERFACES would be introduced to enable MD5. Make the definition ahead of the change to avoid build error after the MACRO changed. Enalbe iSCSI. Signed-off-by: Zhichao Gao Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel --- OvmfPkg/OvmfPkgIa32X64.dsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 3551f9710a..7ddb363d7d 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -41,6 +41,7 @@ DEFINE NETWORK_IP6_ENABLE = FALSE DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE + DEFINE NETWORK_ISCSI_ENABLE = TRUE !include NetworkPkg/NetworkDefines.dsc.inc @@ -90,6 +91,10 @@ INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES +!if $(NETWORK_ISCSI_ENABLE) == TRUE + *_*_*_CC_FLAGS = -D ENABLE_MD5_DEPRECATED_INTERFACES +!endif + [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000 -- 2.21.0.windows.1