diff options
author | Alexey Neyman <stilor@att.net> | 2016-11-23 02:10:23 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-12-02 23:03:15 (GMT) |
commit | 3f7fbd7beda5d840cd9a15189a94aaad4a802d37 (patch) | |
tree | 9a48499305e2716fde7031172220e5ceb3aea951 /scripts/build/companion_tools.sh | |
parent | f7f70b67c44727d9eea48997c837e87c5e63ca33 (diff) |
Move companion tool build into a separate step.
Also, rename "build" -> "for_build", since we're going to have a "for_host"
as well.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/companion_tools.sh')
-rw-r--r-- | scripts/build/companion_tools.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/build/companion_tools.sh b/scripts/build/companion_tools.sh index b703c41..923c293 100644 --- a/scripts/build/companion_tools.sh +++ b/scripts/build/companion_tools.sh @@ -7,11 +7,11 @@ for f in "${CT_LIB_DIR}/scripts/build/companion_tools/"*.sh; do _f="${_f#???-}" __f="CT_COMP_TOOLS_${_f}" if [ "${!__f}" = "y" ]; then - CT_DoLog DEBUG "Enabling companion tools '${_f}'" + CT_DoLog DEBUG "Enabling companion tool '${_f}'" . "${f}" CT_COMP_TOOLS_FACILITY_LIST="${CT_COMP_TOOLS_FACILITY_LIST} ${_f}" else - CT_DoLog DEBUG "Disabling companion tools '${_f}'" + CT_DoLog DEBUG "Disabling companion tool '${_f}'" fi done @@ -30,9 +30,8 @@ do_companion_tools_extract() { } # Build the companion tools facilities -do_companion_tools() { +do_companion_tools_for_build() { for f in ${CT_COMP_TOOLS_FACILITY_LIST}; do - do_companion_tools_${f}_build + do_companion_tools_${f}_for_build done } - |