Call architecture-specific functions from all scripts needing them.

This commit is contained in:
Yann E. MORIN" 2007-09-16 08:52:26 +00:00
parent 398b1b8e69
commit 60b7c724bd
3 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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,