petalinux-package --sysroot Command Examples - 2021.1 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
UG1144
Release Date
2021-06-16
Version
2021.1 English

The following examples demonstrate the proper usage of the petalinux-package --sysroot command.

  • Install default SDK to default directory.
    $ petalinux-package --sysroot
  • Install specified SDK to default directory.
    $ petalinux-package --sysroot -s <PATH-TO-SDK>
  • Install specified SDK to specified directory.
    $ petalinux-package --sysroot -s <PATH-to-SDK> -d <PATH-TO-INSTALL-DIR>