mkworkspace.py

Create a target image generation workspace, and copy contents and configuration information to this workspace.

Syntax:

 mkworkspace.py -w workspace [-hlpqv]

Runs on:

Windows, Linux.

Requires the correct version of Python installed on your host system; see your product Release Notes for the most up-to-date information.

Options:

-h
Output the utility use file, then exit.
-l
The letter “el.” List valid values for boards (platforms) that can be specified with the -p option, then exit.
-p

Specify the hardware board for which the workspace is being created.

For a current list of supported boards for your system, use the -l (letter “el”) option. To build a workspace for all supported boardss, use --all-platform (see below).

-q
Run in “quiet” mode; suppress output messages. Overrides -v option.
-v
Increase verbosity. Dont' use this if you use the -q option.
-w

Specify the location for your workspace. The path is absolute, and includes the name of your workspace. After you have run mkworkspace.py, set the QNX_DEPLOYMENT_WORKSPACE environment variable to the path to:

absolute path to workspace/product-deployment
--all-platform
Build a workspace for all supported boards (platforms).

Description:

The mkworkspace.py utility prepares the workspace on your host system. Run this utility to merge the common and product-specific content and configuration information from the path specified into a single deployment directory, and copy from the location specified by source to the absolute location specified by the -w option.

This process copies only the required files, leaving behind files not needed for the current product, board, etc. It eliminates unneeded files and directories, simplifying the work environment.

The utility script infers the path to the directory with the common content and configuration (common/) from the path you specify for the product-specific content and configuration information.