foreach my $s (@{$unified_info{sources}->{$o}}) {\r
next if ($unified_info{generate}->{$s});\r
next if $s =~ "crypto/bio/b_print.c";\r
+\r
+ # No need to add unused files in UEFI.\r
+ # So it can reduce porting time, compile time, library size.\r
+ next if $s =~ "crypto/rand/randfile.c";\r
+ next if $s =~ "crypto/store/";\r
+\r
if ($product =~ "libssl") {\r
push @sslfilelist, ' $(OPENSSL_PATH)/' . $s . "\r\n";\r
next;\r