aboutsummaryrefslogtreecommitdiff
path: root/util/mkfiles.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/mkfiles.pl')
-rwxr-xr-xutil/mkfiles.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/mkfiles.pl b/util/mkfiles.pl
index 2d77a82..66b78f4 100755
--- a/util/mkfiles.pl
+++ b/util/mkfiles.pl
@@ -84,7 +84,10 @@ my @dirs = (
%top;
+my $fipscanisteronly = 0;
+
foreach (@dirs) {
+ next if ($fipscanisteronly && !(-d $_));
&files_dir ($_, "Makefile");
}
@@ -150,4 +153,8 @@ if ($dir eq "." && defined($sym{"BUILDENV"}))
print "RELATIVE_DIRECTORY=\n";
close (IN);
+if ($dir eq "." && $sym{CONFIGURE_ARGS} =~ /fipscanisteronly/)
+ {
+ $fipscanisteronly = 1;
+ }
}