Lines Matching full:build
19 of the shell commands needed to manage (build, flash, etc.) an application.
21 For example, to generate commands to build samples/hello_world for
27 :goals: build
36 path to the application to build.
39 path to the application to build, this is an app present in the upstream
43 if set, build instructions are given from within the \:app: folder,
47 which build system to generate. Valid options are
56 if set, the application build will target the given board.
59 if set, the application build will target the given shield.
62 if set, the application build will use the given configuration
69 \:build-args:
70 if set, additional arguments to the build invocation
72 \:build-dir:
73 if set, the application build directory will *APPEND* this
74 (relative, Unix-separated) path to the standard build directory. This is
78 \:build-dir-fmt:
79 if set, assume that "west config build.dir-fmt" has been set to this
80 path. Exclusive with 'build-dir' and depends on 'tool=west'.
84 'build', 'flash', 'debug', 'debugserver', 'run'). Commands to accomplish
89 created a build directory and changed there, and will tweak the text to
118 'build-args': directives.unchanged,
119 'build-dir': directives.unchanged,
120 'build-dir-fmt': directives.unchanged,
149 build_args = self.options.get('build-args', None)
150 build_dir_append = self.options.get('build-dir', '').strip('/')
151 build_dir_fmt = self.options.get('build-dir-fmt', None)
166 raise self.error('Both build-dir and build-dir-fmt options were given.')
169 raise self.error('build-dir-fmt is only supported for the west build tool.')
184 # Allow build directories which are nested.
185 build_dir = ('build' + '/' + build_dir_append).rstrip('/')
193 # Build the command content as a list, then convert to string.
280 dst = ' -d {}'.format(build_dir) if build_dir != 'build' else ''
294 # We always have to run west build.
304 content.append('west build -b {}{}{}{}{}'.
314 if goal in {'build', 'sign'}:
325 content.append('west build -t {}{}'.format(goal, dst))
333 …content.append("# If you already made a build directory ({}) and ran cmake, just 'cd {}' instead."…
368 # When there's no app and a single level deep build dir,
433 content.append('# Use cmake to configure a {}-based build' \
440 '# Now run the build tool on the generated build system:'])
442 if 'build' in goals:
446 if goal == 'build':