Call architecture-specific functions from all scripts needing them.
1.1 --- a/scripts/crosstool.sh Sun Sep 16 08:27:37 2007 +0000
1.2 +++ b/scripts/crosstool.sh Sun Sep 16 08:52:26 2007 +0000
1.3 @@ -73,7 +73,7 @@
1.4 CT_DoLog INFO "Building environment variables"
1.5
1.6 # Parse architecture-specific functions
1.7 -. ${CT_LIB_DIR}/arch/${CT_ARCH}/functions
1.8 +. "${CT_LIB_DIR}/arch/${CT_ARCH}/functions"
1.9
1.10 # Target tuple: CT_TARGET needs a little love:
1.11 CT_DoBuildTargetTuple
2.1 --- a/scripts/saveSample.sh Sun Sep 16 08:27:37 2007 +0000
2.2 +++ b/scripts/saveSample.sh Sun Sep 16 08:52:26 2007 +0000
2.3 @@ -18,6 +18,9 @@
2.4 CT_TestOrAbort "Configuration file not found. Please create one." -f "${CT_TOP_DIR}/.config"
2.5 . "${CT_TOP_DIR}/.config"
2.6
2.7 +# Parse the architecture-specific functions
2.8 +. "${CT_LIB_DIR}/arch/${CT_ARCH}/functions"
2.9 +
2.10 # Target tuple: CT_TARGET needs a little love:
2.11 CT_DoBuildTargetTuple
2.12
3.1 --- a/scripts/tarball.sh.broken Sun Sep 16 08:27:37 2007 +0000
3.2 +++ b/scripts/tarball.sh.broken Sun Sep 16 08:52:26 2007 +0000
3.3 @@ -16,6 +16,10 @@
3.4 # Parse the configuration file:
3.5 . ${CT_TOP_DIR}/.config
3.6
3.7 +# Parse the architecture-specific functions
3.8 +. "${CT_LIB_DIR}/arch/${CT_ARCH}/functions"
3.9 +
3.10 +# Target tuple: CT_TARGET needs a little love:
3.11 CT_DoBuildTargetTuple
3.12
3.13 # Kludge: if any of the config options needs either CT_TARGET or CT_TOP_DIR,