Filtering RootFS Packages Based on License - 2022.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
Release Date
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.