summaryrefslogtreecommitdiff
path: root/scripts/build/companion_tools/300-automake.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-11-19 23:17:37 (GMT)
committerAlexey Neyman <stilor@att.net>2018-11-28 08:30:10 (GMT)
commitda76ae3ea3ba523223fe61b3b40974254a389141 (patch)
tree12affa1c2a39bf58f0a1720a76c1dfa0dc246b90 /scripts/build/companion_tools/300-automake.sh
parent951afda5088f202eead14e3ae281f234b160af0b (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/300-automake.sh')
-rw-r--r--scripts/build/companion_tools/300-automake.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/scripts/build/companion_tools/300-automake.sh b/scripts/build/companion_tools/300-automake.sh
index 2d7eded..9f7dd49 100644
--- a/scripts/build/companion_tools/300-automake.sh
+++ b/scripts/build/companion_tools/300-automake.sh
@@ -1,14 +1,17 @@
# Build script for automake
-do_companion_tools_automake_get() {
+do_companion_tools_automake_get()
+{
CT_Fetch AUTOMAKE
}
-do_companion_tools_automake_extract() {
+do_companion_tools_automake_extract()
+{
CT_ExtractPatch AUTOMAKE
}
-do_companion_tools_automake_for_build() {
+do_companion_tools_automake_for_build()
+{
CT_DoStep INFO "Installing automake for build"
CT_mkdir_pushd "${CT_BUILD_DIR}/build-automake-build"
do_automake_backend host=${CT_BUILD} prefix="${CT_BUILD_COMPTOOLS_DIR}"
@@ -16,7 +19,8 @@ do_companion_tools_automake_for_build() {
CT_EndStep
}
-do_companion_tools_automake_for_host() {
+do_companion_tools_automake_for_host()
+{
CT_DoStep INFO "Installing automake for host"
CT_mkdir_pushd "${CT_BUILD_DIR}/build-automake-host"
do_automake_backend host=${CT_HOST} prefix="${CT_PREFIX_DIR}"
@@ -24,7 +28,8 @@ do_companion_tools_automake_for_host() {
CT_EndStep
}
-do_automake_backend() {
+do_automake_backend()
+{
local host
local prefix