binconfig class The binconfig class is for packages that install <pkg>-config scripts that provide information about the build settings for the package. It is usually provided by libraries and then used by other packages to determine various compiler options. Since the script is used at build time it is required to be copied into the staging area. All the actions performed by the class are appended to the stage task. The actions performed by the binconfig class are: Copies the <x>-config script from the package into ${STAGING_BINDIR} directory; If the package is not native then it modifies the contents of the <x>-config script in the staging area to ensure that all the paths in the script refer to the staging area; If the package is native then the<x>-config script is renamed to <x>-config-native to ensure that the native and non-native versions do not interfere with each other. A package is considered to be native if it also inherits the native class. The class will search in source directory, ${S}, and all it's subdirectories, for files that end in -config and process them as described above. All that is required to use the class is the addition of binconfig in an inherit statement: inherit autotools binconfig