The following table details the command line options that are common to all
petalinux-create
workflows.
Option | Functional Description | Value Range | Default Value |
---|---|---|---|
-t,--type
TYPE
|
Specify the TYPE of object to create. This is required. |
|
None |
-n,--name
NAME
|
Create object with the specified NAME. This is optional when creating a project from a BSP source. Otherwise, this is required. | User-specified | When creating a project from a BSP source, the project takes the name of the source BSP. |
-p,--project
PROJECT
|
PetaLinux project directory path for component creation in a project. This is optional. | User-specified | Current Directory |
--force
|
Overwrite existing files on disk. This is optional. | None | None |
-h,--help
|
Display usage information. This is optional. | None | None |
--tmpdir | Specify the local drive path as TMPDIR location
when creating the project. Default TMPDIR cannot be under NFS. By default, PetaLinux sets the TMPDIR under /tmp when project is on NFS. You can set your own local drive as TMPDIR PATH using the --tmpdir option |
None | None |