The following table summarizes some of the available commands that can be used with this option:
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. |
mrproper
|
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, TF-A, 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. |