[edk2-devel] [PATCH 22/24] CryptoPkg/openssl: process_files.pl: copy generated der/*.c source files.
Gerd Hoffmann
kraxel at redhat.com
Fri Dec 3 16:07:46 UTC 2021
Even more generated files in openssl 3.0 ...
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
CryptoPkg/Library/OpensslLib/process_files.pl | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/CryptoPkg/Library/OpensslLib/process_files.pl b/CryptoPkg/Library/OpensslLib/process_files.pl
index 75e6473e08b3..d1be6f9a19d5 100755
--- a/CryptoPkg/Library/OpensslLib/process_files.pl
+++ b/CryptoPkg/Library/OpensslLib/process_files.pl
@@ -428,6 +428,15 @@ for my $file (@hdrs) {
or die "Cannot copy $file !";
}
+for my $file (map { s/\.in//; $_ } glob($OPENSSL_PATH . "/providers/common/der/*.c.in")) {
+ next unless -f $file;
+ my $dest = $file;
+ $dest =~ s|.*/||;
+ print "\n--> Duplicating $file into $dest ... ";
+ system("perl -pe 's/\\n/\\r\\n/' < $file > $dest") == 0
+ or die "Cannot copy $file !";
+}
+
print "\nProcessing Files Done!\n";
# cleanup
--
2.33.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84323): https://edk2.groups.io/g/devel/message/84323
Mute This Topic: https://groups.io/mt/87479986/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list