The Linux kernel does not need a config file now that the old methods are removed.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Sep 15 09:51:10 2008 +0000 (2008-09-15)
changeset 85571dab47a942e
parent 854 f347a40db591
child 856 8d23dc29eb7d
The Linux kernel does not need a config file now that the old methods are removed.
So, don't save the Linux kernel config file when saving a sample, there will never be such a file any longer.

/trunk/scripts/saveSample.sh | 13 0 13 0 -------------
1 file changed, 13 deletions(-)
scripts/saveSample.sh
     1.1 --- a/scripts/saveSample.sh	Mon Sep 15 09:43:35 2008 +0000
     1.2 +++ b/scripts/saveSample.sh	Mon Sep 15 09:51:10 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