petalinux-package --sysroot Command Examples - 2020.2 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
UG1144
Release Date
2020-11-24
Version
2020.2 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>