Skip to content

Commit 74a140d

Browse files
Martin-NXPmarius-alex-tache
authored andcommitted
[NXP][scripts] Fix script issue when there is no --args
Signed-off-by: Martin Girardot <martin.girardot@nxp.com>
1 parent 6bcb1bc commit 74a140d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build/builders/nxp.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ def generate(self):
250250
cmd += 'export NXP_K32W0_SDK_ROOT="' + str(p.sdk_storage_location_abspath) + '" \n '
251251
elif p.sdk_name == 'common':
252252
cmd += 'export NXP_SDK_ROOT="' + str(p.sdk_storage_location_abspath) + '" \n '
253-
cmd += 'gn gen --check --fail-on-unused-args --export-compile-commands --root=%s' % self.root
253+
# add empty space at the end to avoid concatenation issue when there is no --args
254+
cmd += 'gn gen --check --fail-on-unused-args --export-compile-commands --root=%s ' % self.root
254255

255256
extra_args = []
256257

0 commit comments

Comments
 (0)