diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-12-23 20:43:32 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-12-23 20:43:32 +0100 |
commit | 5d175195f61e4d6f1565ccbc74619c4e7c84c431 (patch) | |
tree | d5497c7083e488830b6865dec8c276dfe923198d /scripts/functions | |
parent | 69a876c46e7ecab46c11b14b87003b1118b068e4 (diff) | |
download | crosstool-ng-5d175195f61e4d6f1565ccbc74619c4e7c84c431.tar.gz crosstool-ng-5d175195f61e4d6f1565ccbc74619c4e7c84c431.tar.bz2 crosstool-ng-5d175195f61e4d6f1565ccbc74619c4e7c84c431.zip |
buildtools: move to working directory
There is absolutely *no* reason for the buildtools (wrappers to gcc, g++,
as, ld... for the local machine) to be in the toolchain directory. Moreover,
they are removed after the build completes.
Move them out of the toolchain directory, and into the build directory (but
yet the part specific to the current toolchain). This means we no longer
need to explicitly remove them either, BTW, but we need to save/restore them
for the restart feature.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions index ba92d118..0e92b921 100644 --- a/scripts/functions +++ b/scripts/functions @@ -1023,6 +1023,7 @@ CT_DoSaveState() { if [ "${CT_COMPLIBS_BACKUP}" = "y" ]; then CT_DoTarballIfExists "${CT_COMPLIBS_DIR}" "${state_dir}/complibs_dir" fi + CT_DoTarballIfExists "${CT_BUILDTOOLS_DIR}" "${state_dir}/buildtools_dir" CT_DoTarballIfExists "${CT_CONFIG_DIR}" "${state_dir}/config_dir" CT_DoTarballIfExists "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${state_dir}/cc_core_static_prefix_dir" CT_DoTarballIfExists "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${state_dir}/cc_core_shared_prefix_dir" @@ -1061,6 +1062,7 @@ CT_DoLoadState(){ CT_DoExtractTarballIfExists "${state_dir}/cc_core_shared_prefix_dir" "${CT_CC_CORE_SHARED_PREFIX_DIR}" CT_DoExtractTarballIfExists "${state_dir}/cc_core_static_prefix_dir" "${CT_CC_CORE_STATIC_PREFIX_DIR}" CT_DoExtractTarballIfExists "${state_dir}/config_dir" "${CT_CONFIG_DIR}" + CT_DoExtractTarballIfExists "${state_dir}/buildtools_dir" "${CT_BUILDTOOLS_DIR}" if [ "${CT_COMPLIBS_BACKUP}" = "y" ]; then CT_DoExtractTarballIfExists "${state_dir}/complibs_dir" "${CT_COMPLIBS_DIR}" fi |