summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-16 08:52:26 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-16 08:52:26 (GMT)
commit60b7c724bd93925ad849c78fc4c678edbe63cd18 (patch)
tree3720dd857afc5bacdf422a2d0749e74b2613b2d3 /scripts
parent398b1b8e692c1cd7d453ca59a78da570feea0769 (diff)
Call architecture-specific functions from all scripts needing them.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/crosstool.sh2
-rwxr-xr-xscripts/saveSample.sh3
-rwxr-xr-xscripts/tarball.sh.broken4
3 files changed, 8 insertions, 1 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh
index b1b8bc2..0a357bc 100755
--- a/scripts/crosstool.sh
+++ b/scripts/crosstool.sh
@@ -73,7 +73,7 @@ CT_HasOrAbort lynx
CT_DoLog INFO "Building environment variables"
# Parse architecture-specific functions
-. ${CT_LIB_DIR}/arch/${CT_ARCH}/functions
+. "${CT_LIB_DIR}/arch/${CT_ARCH}/functions"
# Target tuple: CT_TARGET needs a little love:
CT_DoBuildTargetTuple
diff --git a/scripts/saveSample.sh b/scripts/saveSample.sh
index 9a3d8fb..3c98f43 100755
--- a/scripts/saveSample.sh
+++ b/scripts/saveSample.sh
@@ -18,6 +18,9 @@ rm -f "${tmp_log_file}"
CT_TestOrAbort "Configuration file not found. Please create one." -f "${CT_TOP_DIR}/.config"
. "${CT_TOP_DIR}/.config"
+# Parse the architecture-specific functions
+. "${CT_LIB_DIR}/arch/${CT_ARCH}/functions"
+
# Target tuple: CT_TARGET needs a little love:
CT_DoBuildTargetTuple
diff --git a/scripts/tarball.sh.broken b/scripts/tarball.sh.broken
index 63d27cd..9787c21 100755
--- a/scripts/tarball.sh.broken
+++ b/scripts/tarball.sh.broken
@@ -16,6 +16,10 @@ rm -f "${tmp_log_file}"
# Parse the configuration file:
. ${CT_TOP_DIR}/.config
+# Parse the architecture-specific functions
+. "${CT_LIB_DIR}/arch/${CT_ARCH}/functions"
+
+# Target tuple: CT_TARGET needs a little love:
CT_DoBuildTargetTuple
# Kludge: if any of the config options needs either CT_TARGET or CT_TOP_DIR,