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. 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, -- cgit v0.10.2-6-g49f6