The petalinux-build -c
option builds the
specified component of the embedded system. When no components are specified, the
petalinux-build
tool operates on the project as a
whole. User-created components for the root file system can be built by targeting those
components by name (for example, with -c
<APP-NAME>
). This is equivalent to bitbake
<COMPONENT>
. Each recipe can be specified as a component for petalinux-build -c <component>
. The component can be
a user created app or package/package group in the root filesystem.
The petalinux-build
command with no arguments
runs bitbake petalinux-user-image
internally. The
default image target is petalinux-image-minimal
. There
is no restriction on the components, and you can build your own packages. For the names
of the packages, search in petalinux-config -c
rootfs
.
petalinux-build -c base-files