Contents
Description
Examples of incs_*.gbs
Description
Purpose
The incs_type.gbs files are used to extend the search paths for builders beyond the Components.
The type specifies the associated source-file type (without the DOT)
They will specify directories in
- 'res' area: $GBS_RES_PATH/$GBS_SUBSYS/...
- 'ext' area: $GBS_EXT_PATH/yourdirectory
- Directories outside the GBS directory structure, as specified in switch.gbs.
The incs_type.gbs files may be placed in the following locations:
- $GBS_SYSBUILD_PATH
- $GBS_SYSBUILD_PATH/$build
- $GBS_BUILD_PATH
- $GBS_BUILD_PATH/$build
- $GBS_COMPONONENT_PATH/opt
- $GBS_COMPONONENT_PATH/opt/$build
And will be read in reverse order.
General
Please refer to .gbs files: General information
Additional for this file:
- The .include directive is not allowed
Contents:
Syntax:
- Multiple lines
- absolute_path
- modifier absolute_path
Semantics:
One path per line in reverse order.
- absolute_path
- May contain EnvVars resulting in an absolute path.
- modifier
- ' ' or '+' or '~'
- Where:
- ' ' or '+'
- Path must exist
- '~'
- Skipped if path does not exist (tentative reference)
Notes:
None
Examples of incs_*.gbs:
#========================================================
# [superglo]INCS_C.GBS
#========================================================
$GBSEXT_DMF_PATH/include
$GBSEXT_MARAP_PATH/inc
###EOF###
#
# SYSBUILD: %BUILD% [lgnu_gcc]: sysincs_c.gbs
#
/usr/local/include
$GBSEXT_LGNU_GCC_PATH/include
~ $GBSEXT_LGNU_GCC_PATH/include-fixed
/usr/include
/usr/include/x86_64-linux-gnu
## EOF ##
|