Remove the generated files from openssl source tree after copying
them over.  Makes sure the build works fine with a fresh openssl
checkout where the generated files are not present.

Signed-off-by: Gerd Hoffmann <kra...@redhat.com>
---
 CryptoPkg/Library/OpensslLib/process_files.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CryptoPkg/Library/OpensslLib/process_files.pl 
b/CryptoPkg/Library/OpensslLib/process_files.pl
index 5cf491b4abf0..d644bd11da20 100755
--- a/CryptoPkg/Library/OpensslLib/process_files.pl
+++ b/CryptoPkg/Library/OpensslLib/process_files.pl
@@ -429,5 +429,8 @@ for my $file (@hdrs) {
 
 print "\nProcessing Files Done!\n";
 
+# cleanup
+system("make -C $OPENSSL_PATH clean");
+
 exit(0);
 
-- 
2.33.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84309): https://edk2.groups.io/g/devel/message/84309
Mute This Topic: https://groups.io/mt/87479942/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to