Skip to content

Commit a25fd07

Browse files
Revert "[nxp noup][scripts] Fixe script issue when there is no --args in Gn command"
This reverts commit 7a7b03d.
1 parent efa6d3c commit a25fd07

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/build/builders/nxp.py

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

251250
extra_args = []
252251

0 commit comments

Comments
 (0)