root_platform_populate – create build context directory with platform files, common for all packages of the project.

Description

The method has empty default implementation. Platform-specific modules define its actual content.

The method should create directory inside CONTEXTDIR and fill it with files, defined as essential for the used program platform: header files and libraries of the compiler, header files with API of operation system, or some generic set of programs, considered as basic. Definition is done by implementation.

Writing

The method may write to CONTEXTDIR. It may create directories in CONTEXTDIR, common for all packages, and write to package-separated ROOT as well.

Variables

The method may typically use any-api(7) variables:
CONTEXTDIR
ROOT

See also

any(1), any-map(7), any-api(7)