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 unneeded files from 'headers_check' and 'headers_install'


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


# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1292962441 28800
# Node ID 92951c85f1f2810fdedc29d9576c3cc316e0bb86
# Parent  13e4f7126cf76604d53510f9571e6422991774fd
kernel/linux: Cleanup unneeded files from 'headers_check' and 'headers_install'

headers_install makes  .install and ..install.cmd files.
headers_check makes    .check   and ..check.cmd   files.
Remove these files after installing checked include files to the sys-root.

diff -r 13e4f7126cf7 -r 92951c85f1f2 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	Tue Dec 21 12:14:01 2010 -0800
@@ -112,7 +112,10 @@
              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'                                 \
+            -o -name '..install.cmd'                          \
+            -o -name '..check.cmd' ')' -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]