Generating Package Configuration Files

The package configuration file can be initially created by the GPT build tools to save time and effort. The -genpkgconf option will search the given source directory for GPT package data files. The build tools will get the name, setup name and source directory for each available package. The results are then sent to standard out which can be redirected to a file for use in future calls to the build tools. Note that this option can not produce srcbootstrap, binbootstrap or buildflags keys/values nor can the build tools determine the variables that the developer wishes to use, these must be added manually with an editor.

> uberBuild -genpkgconf -srcdir=/sandbox > pkgconf

The package configuration file is not needed for most tasks. It is required when:

  1. there are special bootstrapping instructions

  2. performance related to searching the source directory for available packages becomes an issue

  3. the building of a package requires certain flags to gpt-build