mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 21:57:48 +00:00
Call architecture-specific functions from all scripts needing them.
This commit is contained in:
parent
398b1b8e69
commit
60b7c724bd
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user