Build one or more targets.
newt build <target-name> [target_name ...] [flags]
-h, --help Help for newt commands -j, --jobs int Number of concurrent build jobs (default 8) -l, --loglevel string Log level (default "WARN") -o, --outfile string Filename to tee output to -q, --quiet Be quiet; only display error output -s, --silent Be silent; don't output anything -v, --verbose Enable verbose output when executing commands
Compiles, links, and builds an ELF binary for the target named <target-name>. It builds an ELF file for the application specified by the
app variable for the
target-name target. The image can be loaded and run on the hardware specified by the
bsp variable for the target. The command creates the ‘bin/’ directory under the project’s base directory (that the
newt new command created) and stores the executable in the ‘bin/targets/<target-name>/app/apps/<app-name>’ directory. A
manifest.json build manifest file is also generated in the same directory. This build manifest contains information such as build time, version, image name, a hash to identify the image, packages actually used to create the build, and the target for which the image is built.
You can specify a list of target names, separated by a space, to build multiple targets.
Builds an executable for the
Builds the images for the applications defined by the