aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-09-17 18:12:35 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-09-18 05:18:57 +0000
commit424ad8d8a0de8649948d139eb83c937927aa91b2 (patch)
tree11af0ba2351e9463eaf11d759caeb0f12aa5a1fc
parentcbda67789e6c59363908ca0f5da728db07c1ebdc (diff)
baremetal: Mark helper commands without of descriptions as 'silent'
... to prevent the QBS warnings. Change-Id: Ia8859c40bb597a49a60bfe4255511b26df8b9af0 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
-rw-r--r--share/qbs/modules/cpp/sdcc.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/sdcc.js b/share/qbs/modules/cpp/sdcc.js
index b7df93299..4a144b466 100644
--- a/share/qbs/modules/cpp/sdcc.js
+++ b/share/qbs/modules/cpp/sdcc.js
@@ -553,6 +553,7 @@ function prepareCompiler(project, product, inputs, outputs, input, output, expli
if (isWindows) {
cmd = new JavaScriptCommand();
cmd.objectPath = outputs.obj[0].filePath;
+ cmd.silent = true;
cmd.sourceCode = function() {
var lines = [];
var file = new TextFile(objectPath, TextFile.ReadWrite);
@@ -597,6 +598,7 @@ function prepareLinker(project, product, inputs, outputs, input, output) {
cmd = new JavaScriptCommand();
cmd.objectPaths = inputs.obj.map(function(a) { return a.filePath; });
cmd.objectSuffix = product.cpp.objectSuffix;
+ cmd.silent = true;
cmd.sourceCode = function() {
objectPaths.forEach(function(objectPath) {
if (!objectPath.endsWith(".c" + objectSuffix))
@@ -620,6 +622,7 @@ function prepareLinker(project, product, inputs, outputs, input, output) {
cmd.mapFilePath = FileInfo.joinPaths(
FileInfo.path(target.filePath),
FileInfo.completeBaseName(target.fileName) + ".map");
+ cmd.silent = true;
cmd.sourceCode = function() { File.remove(mapFilePath); };
cmds.push(cmd);
}