# HG changeset patch # User "Yann E. MORIN" # Date 1189932746 0 # Node ID 5e5d02b2d786156e1c814c9b4704e66e4b69b82c # Parent 4e27d82d5c5de549c192dd4463209ec74acc7f2f Call architecture-specific functions from all scripts needing them. diff -r 4e27d82d5c5d -r 5e5d02b2d786 scripts/crosstool.sh --- a/scripts/crosstool.sh Sun Sep 16 08:27:37 2007 +0000 +++ b/scripts/crosstool.sh Sun Sep 16 08:52:26 2007 +0000 @@ -73,7 +73,7 @@ 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 -r 4e27d82d5c5d -r 5e5d02b2d786 scripts/saveSample.sh --- a/scripts/saveSample.sh Sun Sep 16 08:27:37 2007 +0000 +++ b/scripts/saveSample.sh Sun Sep 16 08:52:26 2007 +0000 @@ -18,6 +18,9 @@ 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 -r 4e27d82d5c5d -r 5e5d02b2d786 scripts/tarball.sh.broken --- a/scripts/tarball.sh.broken Sun Sep 16 08:27:37 2007 +0000 +++ b/scripts/tarball.sh.broken Sun Sep 16 08:52:26 2007 +0000 @@ -16,6 +16,10 @@ # 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,