Commit ca77c6fb authored by Ben Avison's avatar Ben Avison
Browse files

Build fix

  Some users reported problems building the sources if they had other
  installations of perl on their build machine. The build system was using a
  mixture of "perl" and "<Perl$Dir>.perl" to invoke the interpreter, and
  sometimes but not always using "do" to expand system variables on the
  command line. This has now been standardised to use "do <Perl$Dir>.perl in
  all cases, and where possible, to use the makefile macro ${PERL}.
  Checked that a Tungsten build still works on a build machine with no other
  perl installation. "perl" was aliased to an error to ensure it wasn't used.
parent 4a873e24
......@@ -23,7 +23,7 @@ wimpslot 4096k
Set AutoBuild$EnvName <Build>
| first argument should be passwd onto imagename script
If "%0" = "ImageName" Then perl <Build$Dir>.BuildSys.perl.ImageName %1 Else perl <Build$Dir>.BuildSys.perl.NewImName -verfile <Choices$dir>.AutoBuild.<Build>.Version %1
If "%0" = "ImageName" Then do <Perl$Dir>.perl <Build$Dir>.BuildSys.perl.ImageName %1 Else do <Perl$Dir>.perl <Build$Dir>.BuildSys.perl.NewImName -verfile <Choices$dir>.AutoBuild.<Build>.Version %1
| the rest should be passed onto srcbuild
srcbuild -v %*2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment