modbuild: system and OS specific targets
In some cases it would be useful to have system/OS specific targets overwriting the default.
Example: If a function pbuild::configure_rhel6
is defined in the build-script this function should be called instead of pbuild::configure
.
The precedence should be:
- if
pbuild::${target}_${system}
exists, call it - else if
pbuild::${target}__${OS}
exists, call it - otherwise call
pbuild::${target}