summaryrefslogtreecommitdiff
path: root/scripts/build/libc_uClibc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-21 22:01:28 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-21 22:01:28 (GMT)
commitd3b53b8a206554cc004b828142d08a3b45adfbfb (patch)
tree7229d81216af0e6189a22344b2f969d27ed2d5de /scripts/build/libc_uClibc.sh
parent94960ef7c32962005a8bea2e99b5d7177bc94190 (diff)
Move the config script for the build dir to the source dir.
That will be useful when we have the restart functionality.
Diffstat (limited to 'scripts/build/libc_uClibc.sh')
-rw-r--r--scripts/build/libc_uClibc.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh
index aaeb46c..a8fb9be 100644
--- a/scripts/build/libc_uClibc.sh
+++ b/scripts/build/libc_uClibc.sh
@@ -32,7 +32,7 @@ do_libc_check_config() {
CT_TestOrAbort "You did not provide a uClibc config file!" -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" -a -f "${CT_LIBC_UCLIBC_CONFIG_FILE}"
- cp "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${CT_BUILD_DIR}/uClibc.config"
+ cp "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${CT_SRC_DIR}/uClibc.config"
if egrep '^KERNEL_SOURCE=' "${CT_LIBC_UCLIBC_CONFIG_FILE}" >/dev/null 2>&1; then
CT_DoLog WARN "Your uClibc version refers to the kernel _sources_, which is bad."
@@ -40,7 +40,7 @@ do_libc_check_config() {
fi
CT_DoLog EXTRA "Munging uClibc configuration"
- mungeuClibcConfig "${CT_BUILD_DIR}/uClibc.config"
+ mungeuClibcConfig "${CT_SRC_DIR}/uClibc.config"
CT_EndStep
}
@@ -61,7 +61,7 @@ do_libc_headers() {
{ cd "${CT_SRC_DIR}/${CT_LIBC_FILE}"; tar cf - .; } |tar xf -
# Retrieve the config file
- cp "${CT_BUILD_DIR}/uClibc.config" .config
+ cp "${CT_SRC_DIR}/uClibc.config" .config
# uClibc uses the CROSS environment variable as a prefix to the
# compiler tools to use. Setting it to the empty string forces
@@ -91,7 +91,7 @@ do_libc() {
{ cd "${CT_SRC_DIR}/${CT_LIBC_FILE}"; tar cf - .; } |tar xf -
# Retrieve the config file
- cp "${CT_BUILD_DIR}/uClibc.config" .config
+ cp "${CT_SRC_DIR}/uClibc.config" .config
# uClibc uses the CROSS environment variable as a prefix to the compiler
# tools to use. The newly built tools should be in our path, so we need