From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: redhat.com, ip: 209.132.183.28, mailfrom: lersek@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by groups.io with SMTP; Wed, 19 Jun 2019 15:59:11 -0700 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 031A2B0CCB; Wed, 19 Jun 2019 22:59:11 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-91.ams2.redhat.com [10.36.116.91]) by smtp.corp.redhat.com (Postfix) with ESMTP id 038F25C21E; Wed, 19 Jun 2019 22:59:09 +0000 (UTC) Subject: Re: [PATCH v1 1/1] CryptoPkg/OpensslLib: Exclude err_all.c in process_files.py To: Xiaoyu Lu , devel@edk2.groups.io Cc: Jian J Wang , Ting Ye References: <1560928761-1867-1-git-send-email-xiaoyux.lu@intel.com> From: "Laszlo Ersek" Message-ID: <22434e9b-745c-671c-2b71-43f5ecb49848@redhat.com> Date: Thu, 20 Jun 2019 00:59:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1560928761-1867-1-git-send-email-xiaoyux.lu@intel.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.26]); Wed, 19 Jun 2019 22:59:11 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 06/19/19 09:19, Xiaoyu Lu wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1881 > > Commit(0a1b13fd4d2210e2c3) fix VS2017 build failure > remove useless file in OpensslLib[Crypto].inf, > but we use process_files.py to generate files. > So exclude err_all.c file in process_files.py > > Cc: Jian J Wang > Cc: Ting Ye > Signed-off-by: Xiaoyu Lu > --- > CryptoPkg/Library/OpensslLib/process_files.pl | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/CryptoPkg/Library/OpensslLib/process_files.pl b/CryptoPkg/Library/OpensslLib/process_files.pl > index e277108f0734..2783ff54f95a 100755 > --- a/CryptoPkg/Library/OpensslLib/process_files.pl > +++ b/CryptoPkg/Library/OpensslLib/process_files.pl > @@ -132,6 +132,7 @@ foreach my $product ((@{$unified_info{libraries}}, > # So it can reduce porting time, compile time, library size. > next if $s =~ "crypto/rand/randfile.c"; > next if $s =~ "crypto/store/"; > + next if $s =~ "crypto/err/err_all.c"; > > if ($product =~ "libssl") { > push @sslfilelist, ' $(OPENSSL_PATH)/' . $s . "\r\n"; > Reviewed-by: Laszlo Ersek