From nobody Sat Feb 7 07:30:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+84304+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+84304+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1638547687; cv=none; d=zohomail.com; s=zohoarc; b=hG8BsNGCs1ROWE06ibHE5hNYrkVeSCnpZADTHLMaa7eg3mKNSbinTK1jXxkLk7e61pfrbnUlhF9pkzehcZKgwrNBh83EP38jc1aeg1GScDHT7ny6Qy6fk2sKilBV3OK0lqz3D2oaFsyMTLt8W2uO1l3iazqeNm+sJgqE4udUm0k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638547687; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=2BEsOg9/TXKCakTGOi2Z8QA7QwxZAdV9jWz15CAboqk=; b=EolOXrrsD3zqkyeotf8MYUPEYuzRqsYdhWtU1qNyPaXB/BrRwpRcIyi3yOY8VTd7PUZdxVvLMD7C2AQ49NRBJ+inbOA7MF6FfWS3LW7kAPyMThrFxRiVrOYpuicPOy/DKu30vEe/M+KDCCqyMSBcd9BiO7oHaD4ny3RLihjJ514= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+84304+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1638547687541198.57841268645166; Fri, 3 Dec 2021 08:08:07 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id s7YAYY1788612xCXNy4tA4mq; Fri, 03 Dec 2021 08:08:07 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.13334.1638547686349741022 for ; Fri, 03 Dec 2021 08:08:06 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-596-HbfV6Ez6PS-Xec9SbpbNCg-1; Fri, 03 Dec 2021 11:08:02 -0500 X-MC-Unique: HbfV6Ez6PS-Xec9SbpbNCg-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 93D9384B9A4; Fri, 3 Dec 2021 16:08:01 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.193.170]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5918F19724; Fri, 3 Dec 2021 16:08:01 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id C8DEA1800397; Fri, 3 Dec 2021 17:07:48 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Guomin Jiang , Pawel Polawski , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Xiaoyu Lu , Gerd Hoffmann Subject: [edk2-devel] [PATCH 03/24] CryptoPkg/openssl: process_files.pl: expand *.a Date: Fri, 3 Dec 2021 17:07:27 +0100 Message-Id: <20211203160748.866150-4-kraxel@redhat.com> In-Reply-To: <20211203160748.866150-1-kraxel@redhat.com> References: <20211203160748.866150-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: 0e4Xw8SEXB7VfwKs65hXVz27x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1638547687; bh=x1YY35/iSgV3Ji9ow6IP98z85oETSHiF4cw39sLMTqo=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=Rmbe706Q8zTxjQ+sms6h64ibW9li7DuhQvj25rzL/c++hr3cIJ/JHsy5yF7SM55gzEo T3oUp1xA2PFXOQSxf2CzzBgTtQhG4sdiHXH0NkI7Bqvhx1C/lkaEX5GYdIRw4tXqnWylx bN+AtM/YPAgBzUovqqznz/yqinWLnvNTQlg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1638547689765100009 Content-Type: text/plain; charset="utf-8" When finding a library (*.a) in the list of objects go expand it, i.e. get the list of library objects and append them. Signed-off-by: Gerd Hoffmann --- CryptoPkg/Library/OpensslLib/process_files.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CryptoPkg/Library/OpensslLib/process_files.pl b/CryptoPkg/Libr= ary/OpensslLib/process_files.pl index b320ac9b59a6..6e2b98e4a9ae 100755 --- a/CryptoPkg/Library/OpensslLib/process_files.pl +++ b/CryptoPkg/Library/OpensslLib/process_files.pl @@ -248,7 +248,12 @@ my @asmfilelist =3D (); my @asmbuild =3D (); foreach my $product ((@{$unified_info{libraries}}, @{$unified_info{engines}})) { - foreach my $o (@{$unified_info{sources}->{$product}}) { + my @objs =3D @{$unified_info{sources}->{$product}}; + while (my $o =3D pop @objs) { + if ($o =3D~ m/\.a$/) { + push @objs, @{$unified_info{sources}->{$o}}; + next; + } foreach my $s (@{$unified_info{sources}->{$o}}) { # No need to add unused files in UEFI. # So it can reduce porting time, compile time, library size. --=20 2.33.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#84304): https://edk2.groups.io/g/devel/message/84304 Mute This Topic: https://groups.io/mt/87479918/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-