summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-09-15 09:51:10 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-09-15 09:51:10 (GMT)
commit46bd8b45c7d6c732e83dd407395a678ae727ea38 (patch)
tree4e290685619783064067f987882c64e7850c3e1a /scripts
parented92de0b90ccd4ea0c6b2d1e7d767aa4e11cf439 (diff)
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(-)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/saveSample.sh13
1 files changed, 0 insertions, 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