# HG changeset patch # User "Yann E. MORIN" # Date 1221472270 0 # Node ID 71dab47a942e3ea1b839882a46fb01bc3f4c4439 # Parent f347a40db591ec0f92295ed3879f0a289a69a2b5 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(-) diff -r f347a40db591 -r 71dab47a942e scripts/saveSample.sh --- a/scripts/saveSample.sh Mon Sep 15 09:43:35 2008 +0000 +++ b/scripts/saveSample.sh Mon Sep 15 09:51:10 2008 +0000 @@ -67,19 +67,6 @@ samp_top_dir="\${CT_TOP_DIR}" fi -# Save the kernel .config file -if [ -n "${CT_KERNEL_LINUX_CONFIG_FILE}" ]; then - # We save the file, and then point the saved sample to this file - CT_DoAddFileToSample "${CT_KERNEL_LINUX_CONFIG_FILE}" "${CT_TOP_DIR}/samples/${CT_TARGET}/${CT_KERNEL}-${CT_KERNEL_VERSION}.config" - sed -r -i -e 's|^(CT_KERNEL_LINUX_CONFIG_FILE=).+$|\1"'"${samp_top_dir}"'/samples/${CT_TARGET}/${CT_KERNEL}-${CT_KERNEL_VERSION}.config"|;' \ - "${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config" -else - # remove any dangling files - for f in "${CT_TOP_DIR}/samples/${CT_TARGET}/${CT_KERNEL}-"*.config; do - if [ -f "${f}" ]; then rm -f "${f}"; fi - done -fi - # Save the uClibc .config file if [ -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" ]; then # We save the file, and then point the saved sample to this file