From 60b7c724bd93925ad849c78fc4c678edbe63cd18 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 16 Sep 2007 08:52:26 +0000 Subject: Call architecture-specific functions from all scripts needing them. --- scripts/crosstool.sh | 2 +- scripts/saveSample.sh | 3 +++ scripts/tarball.sh.broken | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index b1b8bc20..0a357bc0 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 9a3d8fb6..3c98f433 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 63d27cd5..9787c217 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, -- cgit v1.2.3