Move the config script for the build dir to the source dir.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon May 21 22:01:28 2007 +0000 (2007-05-21)
changeset 1142dace56fc87e
parent 113 0a1e72093a51
child 115 95ca955e8a58
Move the config script for the build dir to the source dir.
That will be useful when we have the restart functionality.
scripts/build/libc_uClibc.sh
     1.1 --- a/scripts/build/libc_uClibc.sh	Sun May 20 16:18:40 2007 +0000
     1.2 +++ b/scripts/build/libc_uClibc.sh	Mon May 21 22:01:28 2007 +0000
     1.3 @@ -32,7 +32,7 @@
     1.4  
     1.5      CT_TestOrAbort "You did not provide a uClibc config file!" -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" -a -f "${CT_LIBC_UCLIBC_CONFIG_FILE}"
     1.6  
     1.7 -    cp "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${CT_BUILD_DIR}/uClibc.config"
     1.8 +    cp "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${CT_SRC_DIR}/uClibc.config"
     1.9  
    1.10      if egrep '^KERNEL_SOURCE=' "${CT_LIBC_UCLIBC_CONFIG_FILE}" >/dev/null 2>&1; then
    1.11          CT_DoLog WARN "Your uClibc version refers to the kernel _sources_, which is bad."
    1.12 @@ -40,7 +40,7 @@
    1.13      fi
    1.14  
    1.15      CT_DoLog EXTRA "Munging uClibc configuration"
    1.16 -    mungeuClibcConfig "${CT_BUILD_DIR}/uClibc.config"
    1.17 +    mungeuClibcConfig "${CT_SRC_DIR}/uClibc.config"
    1.18  
    1.19      CT_EndStep
    1.20  }
    1.21 @@ -61,7 +61,7 @@
    1.22      { cd "${CT_SRC_DIR}/${CT_LIBC_FILE}"; tar cf - .; } |tar xf -
    1.23  
    1.24      # Retrieve the config file
    1.25 -    cp "${CT_BUILD_DIR}/uClibc.config" .config
    1.26 +    cp "${CT_SRC_DIR}/uClibc.config" .config
    1.27  
    1.28      # uClibc uses the CROSS environment variable as a prefix to the
    1.29      # compiler tools to use.  Setting it to the empty string forces
    1.30 @@ -91,7 +91,7 @@
    1.31      { cd "${CT_SRC_DIR}/${CT_LIBC_FILE}"; tar cf - .; } |tar xf -
    1.32  
    1.33      # Retrieve the config file
    1.34 -    cp "${CT_BUILD_DIR}/uClibc.config" .config
    1.35 +    cp "${CT_SRC_DIR}/uClibc.config" .config
    1.36  
    1.37      # uClibc uses the CROSS environment variable as a prefix to the compiler
    1.38      # tools to use.  The newly built tools should be in our path, so we need