From e03e291edf1daf66a7d3a484017e389305427002 Mon Sep 17 00:00:00 2001 From: nakst <> Date: Thu, 3 Feb 2022 20:18:09 +0000 Subject: [PATCH] when building all ports, log the port name --- ports/port.script | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ports/port.script b/ports/port.script index e063b7c..48b8116 100644 --- a/ports/port.script +++ b/ports/port.script @@ -614,10 +614,6 @@ void Start() { assert targetName != ""; assert toolchainPrefix != ""; - if portName == "all" { - PrintStdErrHighlight("Building port: '%portName%'\n"); - } - // PrintStdErrHighlight("Target name: '%targetName%'\n"); // PrintStdErrHighlight("Toolchain prefix: '%toolchainPrefix%'\n"); // PrintStdErrHighlight("Processors to use for compilation: '%processorCount%'\n"); @@ -625,6 +621,10 @@ void Start() { for int i = 0; i < portNames:len(); i += 1 { if portNames[i] == portName || portName == "all" { + if portName == "all" { + PrintStdErrHighlight("Building port: '%portNames[i]%'\n"); + } + portCallbacks[i](); } }