Filtering RootFS Packages Based on License - 2022.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-10-19
Version
2022.2 English

The INCOMPATBLE_LICENSE flag is used to control which packages are included in the final root file system configuration based on the license.

If you want to exclude packages based on license, you can edit the <plnx-proj-root>/project-spec/conf/petalinuxbsp.conf file. For example, set INCOMPATBLE_LICENSE = "GPLv3", then run the petalinux-build command.