diff options
author | Alexey Neyman <stilor@att.net> | 2018-11-19 23:17:37 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-11-28 08:30:10 (GMT) |
commit | da76ae3ea3ba523223fe61b3b40974254a389141 (patch) | |
tree | 12affa1c2a39bf58f0a1720a76c1dfa0dc246b90 /scripts/build/companion_tools/050-make.sh | |
parent | 951afda5088f202eead14e3ae281f234b160af0b (diff) |
Add DTC as a companion tool
(needed for cross-gdb targeting the moxie-* targets)
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/companion_tools/050-make.sh')
-rw-r--r-- | scripts/build/companion_tools/050-make.sh | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/scripts/build/companion_tools/050-make.sh b/scripts/build/companion_tools/050-make.sh index 3253f5b..4c6dc4c 100644 --- a/scripts/build/companion_tools/050-make.sh +++ b/scripts/build/companion_tools/050-make.sh @@ -1,14 +1,17 @@ # Build script for make -do_companion_tools_make_get() { +do_companion_tools_make_get() +{ CT_Fetch MAKE } -do_companion_tools_make_extract() { +do_companion_tools_make_extract() +{ CT_ExtractPatch MAKE } -do_companion_tools_make_for_build() { +do_companion_tools_make_for_build() +{ CT_DoStep INFO "Installing make for build" CT_mkdir_pushd "${CT_BUILD_DIR}/build-make-build" do_make_backend \ @@ -23,7 +26,8 @@ do_companion_tools_make_for_build() { CT_EndStep } -do_companion_tools_make_for_host() { +do_companion_tools_make_for_host() +{ CT_DoStep INFO "Installing make for host" CT_mkdir_pushd "${CT_BUILD_DIR}/build-make-host" do_make_backend \ @@ -38,7 +42,8 @@ do_companion_tools_make_for_host() { CT_EndStep } -do_make_backend() { +do_make_backend() +{ local host local prefix local cflags |