petalinux-create -t COMPONENT Options - 2020.2 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
Release Date
2020.2 English

The petalinux-create -t apps command allows you to customize how application components are created. The following table details options that are common when creating applications within a PetaLinux project

Table 1. petalinux-create -t apps Options
Option Functional Description Value Range Default Value
-s,--source SOURCE Create the component from pre-existing content on disk. Valid formats are .tar.gz, .tar.bz2, .tar, .zip, and source directory (uncompressed). This is optional. User-specified None
--template TEMPLATE Create the component using a pre-defined application template. This is optional.
  • c
  • c++
  • autoconf, for GNU autoconfig
  • fpgamanager
  • install, for applications which have prebuilt binary only
--enable Upon creating the component, enable it in the project’s root file system. You can also enable using the petalinux-config -c rootfs. This is optional. None Disabled
--srcuri Creates an application with local sources or from remote source. None None