1.1 --- a/scripts/build/libc/uClibc.sh Fri Jan 01 16:52:55 2010 +0100
1.2 +++ b/scripts/build/libc/uClibc.sh Thu Jan 21 22:45:09 2010 +0100
1.3 @@ -58,15 +58,14 @@
1.4
1.5 CT_DoStep INFO "Installing C library headers"
1.6
1.7 - mkdir -p "${CT_BUILD_DIR}/build-libc-headers"
1.8 + # Simply copy files until uClibc has the ability to build out-of-tree
1.9 + CT_DoLog EXTRA "Copying sources to build dir"
1.10 + CT_DoExecLog ALL cp -av "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}" \
1.11 + "${CT_BUILD_DIR}/build-libc-headers"
1.12 cd "${CT_BUILD_DIR}/build-libc-headers"
1.13
1.14 - # Simply copy files until uClibc has the ablity to build out-of-tree
1.15 - CT_DoLog EXTRA "Copying sources to build dir"
1.16 - tar cf - -C "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}" . |tar xf -
1.17 -
1.18 # Retrieve the config file
1.19 - cp "${CT_CONFIG_DIR}/uClibc.config" .config
1.20 + CT_DoExecLog ALL cp "${CT_CONFIG_DIR}/uClibc.config" .config
1.21
1.22 # uClibc uses the CROSS environment variable as a prefix to the
1.23 # compiler tools to use. Setting it to the empty string forces
1.24 @@ -99,15 +98,14 @@
1.25 do_libc() {
1.26 CT_DoStep INFO "Installing C library"
1.27
1.28 - mkdir -p "${CT_BUILD_DIR}/build-libc"
1.29 + # Simply copy files until uClibc has the ability to build out-of-tree
1.30 + CT_DoLog EXTRA "Copying sources to build dir"
1.31 + CT_DoExecLog ALL cp -av "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}" \
1.32 + "${CT_BUILD_DIR}/build-libc"
1.33 cd "${CT_BUILD_DIR}/build-libc"
1.34
1.35 - # Simply copy files until uClibc has the ablity to build out-of-tree
1.36 - CT_DoLog EXTRA "Copying sources to build dir"
1.37 - tar cf - -C "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}" . |tar xf -
1.38 -
1.39 # Retrieve the config file
1.40 - cp "${CT_CONFIG_DIR}/uClibc.config" .config
1.41 + CT_DoExecLog ALL cp "${CT_CONFIG_DIR}/uClibc.config" .config
1.42
1.43 # uClibc uses the CROSS environment variable as a prefix to the compiler
1.44 # tools to use. The newly built tools should be in our path, so we need