From 46bd8b45c7d6c732e83dd407395a678ae727ea38 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 15 Sep 2008 09:51:10 +0000 Subject: 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 --git a/scripts/saveSample.sh b/scripts/saveSample.sh index 6cd8541..8b0d44c 100755 --- a/scripts/saveSample.sh +++ b/scripts/saveSample.sh @@ -67,19 +67,6 @@ else 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 -- cgit v0.10.2-6-g49f6