From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com []) by mx.groups.io with SMTP id smtpd.web09.732.1573625508572426042 for ; Tue, 12 Nov 2019 22:11:50 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: jian.j.wang@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Nov 2019 22:11:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,299,1569308400"; d="scan'208";a="214247808" Received: from shwdeopenpsi777.ccr.corp.intel.com ([10.239.158.59]) by fmsmga001.fm.intel.com with ESMTP; 12 Nov 2019 22:11:49 -0800 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Liming Gao , Michael D Kinney , Zailiang Sun , Yi Qian Subject: [PATCH edk2-platforms 3/5] Vlv2TbltDevicePkg: add null version RngLib Date: Wed, 13 Nov 2019 14:11:43 +0800 Message-Id: <20191113061145.6640-4-jian.j.wang@intel.com> X-Mailer: git-send-email 2.17.1.windows.2 In-Reply-To: <20191113061145.6640-1-jian.j.wang@intel.com> References: <20191113061145.6640-1-jian.j.wang@intel.com> It's a prerequisite of removing dependency of TimerLib from OpensslLib. RngLib will be used instead. To avoid build failure, add the null instance of it in advance. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1871 Cc: Liming Gao Cc: Michael D Kinney Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Jian J Wang --- Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 1 + Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 1 + 2 files changed, 2 insertions(+) diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc index 463b952e6582..3dac5f740750 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc @@ -234,6 +234,7 @@ [LibraryClasses.common] SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf !if $(NETWORK_TLS_ENABLE) == TRUE TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc index ee18b45c9712..d3a841484a38 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc @@ -236,6 +236,7 @@ [LibraryClasses.common] SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf !if $(NETWORK_TLS_ENABLE) == TRUE TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf -- 2.17.1.windows.2