mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-24 13:05:32 +00:00
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(-)
This commit is contained in:
parent
ed92de0b90
commit
46bd8b45c7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user