This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] kernel/linux: Cleanup all unneeded files from 'headers_check' and 'headers_install'


 scripts/build/kernel/linux.sh |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1292892181 28800
# Node ID e03996f19cb9effd84187f87b23dd8eee73aac72
# 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 e03996f19cb9 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:43:01 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*' -exec rm {} \;
     fi
 }
 

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]