[PATCH] kernel/linux: Cleanup all unneeded files from 'headers_check' and 'headers_install'
Bryan Hundven
bryanhundven@gmail.com
Tue Dec 21 00:55:00 GMT 2010
scripts/build/kernel/linux.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1292892870 28800
# Node ID dceb4bf2e188911c0ca82afaddd0b368351c6529
# Parent 13e4f7126cf76604d53510f9571e6422991774fd
kernel/linux: Cleanup all unneeded files from 'headers_check' and 'headers_install'
headers_install makes .install and ..install.cmd files and headers_check makes ..check.cmd files.
Remove these files after installing checked include files to the sys-root.
diff -r 13e4f7126cf7 -r dceb4bf2e188 scripts/build/kernel/linux.sh
--- a/scripts/build/kernel/linux.sh Tue Dec 14 11:49:18 2010 -0800
+++ b/scripts/build/kernel/linux.sh Mon Dec 20 16:54:30 2010 -0800
@@ -112,7 +112,7 @@
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
${V_OPT} \
headers_check
- find "${CT_SYSROOT_DIR}" -type f -name '.check*' -exec rm {} \;
+ find "${CT_SYSROOT_DIR}" -type f -name '.*install*' -o -name '.*check*' | xargs rm
fi
}
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list