From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 05D4620D77DDD for ; Thu, 6 Apr 2017 16:16:07 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 66BD980F99; Thu, 6 Apr 2017 23:16:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 66BD980F99 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=lersek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 66BD980F99 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-84.phx2.redhat.com [10.3.116.84]) by smtp.corp.redhat.com (Postfix) with ESMTP id BCF425C88C; Thu, 6 Apr 2017 23:16:05 +0000 (UTC) To: Peter Hornyack References: <98692150-a0be-5735-8452-3f316008f8c7@redhat.com> Cc: edk2-devel@lists.01.org From: Laszlo Ersek Message-ID: Date: Fri, 7 Apr 2017 01:16:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <98692150-a0be-5735-8452-3f316008f8c7@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 06 Apr 2017 23:16:06 +0000 (UTC) Subject: Re: Pull in pre-built library during edk2 build? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 23:16:07 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 04/07/17 00:46, Laszlo Ersek wrote: > 0001-ExternalSslPkg-create-INF-files-for-OpensslLib-binar.patch > > > From 4672a027f54c54574129f9c9cc947c80f7bc4d9f Mon Sep 17 00:00:00 2001 > From: Laszlo Ersek > Date: Thu, 6 Apr 2017 22:56:04 +0200 > Subject: [PATCH] ExternalSslPkg: create INF files for OpensslLib binaries > > Signed-off-by: Laszlo Ersek > --- > .../Library/OpensslLib/OpensslLibBin.inf | 33 ++++++++++++++++++++++ > .../Library/OpensslLib/OpensslLibBinCrypto.inf | 33 ++++++++++++++++++++++ > 2 files changed, 66 insertions(+) > create mode 100644 ExternalSslPkg/Library/OpensslLib/OpensslLibBin.inf > create mode 100644 ExternalSslPkg/Library/OpensslLib/OpensslLibBinCrypto.inf > > diff --git a/ExternalSslPkg/Library/OpensslLib/OpensslLibBin.inf b/ExternalSslPkg/Library/OpensslLib/OpensslLibBin.inf > new file mode 100644 > index 000000000000..703fddb47606 > --- /dev/null > +++ b/ExternalSslPkg/Library/OpensslLib/OpensslLibBin.inf > @@ -0,0 +1,33 @@ > +## @file > +# This module provides binary OpenSSL Library implementation. > +# > +# Copyright (C) 2017, Red Hat, Inc. > +# Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
> +# This program and the accompanying materials are licensed and made available > +# under the terms and conditions of the BSD License which accompanies this > +# distribution. The full text of the license may be found at > +# http://opensource.org/licenses/bsd-license.php > +# > +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR > +# IMPLIED. > +# > +## > + > +[Defines] > + INF_VERSION = 1.25 > + BASE_NAME = OpensslLibBin > + FILE_GUID = d0d4d4cf-460c-4752-9c9b-6d821b2ffe49 > + MODULE_TYPE = BASE > + VERSION_STRING = 1.0 > + LIBRARY_CLASS = OpensslLib > + > +[Binaries.IA32] > + LIB|DEBUG/IA32/OpensslLib.lib|DEBUG > + LIB|NOOPT/IA32/OpensslLib.lib|NOOPT > + LIB|RELEASE/IA32/OpensslLib.lib|RELEASE > + > +[Binaries.X64] > + LIB|DEBUG/X64/OpensslLib.lib|DEBUG > + LIB|NOOPT/X64/OpensslLib.lib|NOOPT > + LIB|RELEASE/X64/OpensslLib.lib|RELEASE I submitted , so that the next version of the INF spec document the LIB file type as well, for the [Binaries] sections of INF files that belong to library instances. Thanks Laszlo