Commit b5640316 authored by Richard Levitte's avatar Richard Levitte
Browse files

Adapt mk1mf.pl and companions to changed perlasm script semantics

parent 81e61d7c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1230,7 +1230,7 @@ sub perlasm_compile_target
	my($ret);
	$bname =~ s/(.*)\.[^\.]$/$1/;
	$ret ="\$(TMP_D)$o$bname$asm_suffix: $source\n";
	$ret.="\t\$(PERL) $source $asmtype \$(CFLAG) >\$\@\n";
	$ret.="\t\$(PERL) $source $asmtype \$(CFLAG) \$\@\n";
	if ($fipscanisteronly)
		{
		$ret .= "\t\$(PERL) util$o.pl . \$@ norunasm \$(CFLAG)\n";
@@ -1295,7 +1295,7 @@ sub do_asm_rule
			my $plasm = $objfile;
			$plasm =~ s/${obj}/.pl/;
			$ret.="$srcfile: $plasm\n";
			$ret.="\t\$(PERL) $plasm $asmtype \$(CFLAG) >$srcfile\n\n";
			$ret.="\t\$(PERL) $plasm $asmtype \$(CFLAG) $srcfile\n\n";
			}

		$ret.="$objfile: $srcfile\n";
+2 −2
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ sub platform_perlasm_compile_target
		        {
			return << "EOF";
\$(TMP_D)/$p.s: $perl1{$p}/asm/$p.pl
	\$(PERL) $perl1{$p}/asm/$p.pl \$(PERLASM_SCHEME) > \$@
	\$(PERL) $perl1{$p}/asm/$p.pl \$(PERLASM_SCHEME) \$@
EOF
		        }
	        }
@@ -104,7 +104,7 @@ EOF
		{
		return << 'EOF';
$(TMP_D)/x86_64cpuid.s: crypto/x86_64cpuid.pl
	$(PERL) crypto/x86_64cpuid.pl $(PERLASM_SCHEME) > $@
	$(PERL) crypto/x86_64cpuid.pl $(PERLASM_SCHEME) $@
EOF
		}
	elsif ($target eq '$(OBJ_D)/sha256-x86_64.o')