January 2018
Intermediate to advanced
456 pages
12h 49m
English
The Yocto build system provides the PACKAGECONFIG variable to help in the configuration of packages by defining a number of features. Your recipe defines the individual features as follows:
PACKAGECONFIG ??= "feature" PACKAGECONFIG[feature] = "--with-feature,--without-feature,build-deps-feature,rt-deps-feature"
The PACKAGECONFIG variable contains a space-separated list of feature names, and it can be extended or overridden in bbappend files; have a look at the following example:
PACKAGECONFIG_append = " feature1 feature2"
To extend or override it from a distribution or local configuration file, you would use the following syntax:
PACKAGECONFIG_pn-<package_name> = "feature1 feature2" PACKAGECONFIG_append_pn-<package_name> ...
Read now
Unlock full access