Commands for petalinux-build -x - 2020.2 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
Release Date
2020.2 English

The following table summarizes some of the available commands that can be used with this option:

Table 1. petalinux-build -x options
Component Description
clean Cleans build data for the target component.
cleansstate/distclean Removes the shared state cache of the corresponding component.
cleanall Removes the downloads and shared state cache. Cleans the work directory of a component.

Cleans the build area. This removes the <plnx-proj-root>/build/, <TMPDIR>, and <plnx-proj-root>/images/ directories. This is the recommended way of cleaning the entire project.

build Builds the target component.
install Installs the target component. For bootloader, ATF, Linux kernel, U-Boot, and device tree, it copies the generated binary into <plnx-proj-root>/images/linux/. For the root file system and root file system component, it copies the generated binary to target the root file system host copy ${TMPDIR}/work/${MACHINE}/petalinux-user-image/1.0-r0/rootfs/.
package Generates FIT image image.ub from build area and copies it into <plnx-proj-root>/images/linux/. Valid for -c all or when no component is specified only.
listtasks Gets all tasks of a specific component.