1.1 --- a/scripts/saveSample.sh Sun Jul 27 10:54:14 2008 +0000
1.2 +++ b/scripts/saveSample.sh Sun Sep 28 18:09:23 2008 +0000
1.3 @@ -67,19 +67,6 @@
1.4 samp_top_dir="\${CT_TOP_DIR}"
1.5 fi
1.6
1.7 -# Save the kernel .config file
1.8 -if [ -n "${CT_KERNEL_LINUX_CONFIG_FILE}" ]; then
1.9 - # We save the file, and then point the saved sample to this file
1.10 - CT_DoAddFileToSample "${CT_KERNEL_LINUX_CONFIG_FILE}" "${CT_TOP_DIR}/samples/${CT_TARGET}/${CT_KERNEL}-${CT_KERNEL_VERSION}.config"
1.11 - sed -r -i -e 's|^(CT_KERNEL_LINUX_CONFIG_FILE=).+$|\1"'"${samp_top_dir}"'/samples/${CT_TARGET}/${CT_KERNEL}-${CT_KERNEL_VERSION}.config"|;' \
1.12 - "${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config"
1.13 -else
1.14 - # remove any dangling files
1.15 - for f in "${CT_TOP_DIR}/samples/${CT_TARGET}/${CT_KERNEL}-"*.config; do
1.16 - if [ -f "${f}" ]; then rm -f "${f}"; fi
1.17 - done
1.18 -fi
1.19 -
1.20 # Save the uClibc .config file
1.21 if [ -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" ]; then
1.22 # We save the file, and then point the saved sample to this file