[edk2-devel] [PATCH 08/24] CryptoPkg/openssl: process_files.pl: clean up when done

Gerd Hoffmann kraxel at redhat.com
Fri Dec 3 16:07:32 UTC 2021


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 <kraxel at 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/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