From: Michael Tremer Date: Fri, 26 Dec 2008 22:23:10 +0000 (+0100) Subject: Exclude some filetypes in strip that definately are no shared objects. X-Git-Tag: v3.0-alpha1~321 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=613302c844a8bb0aa6f99d061e95e00c9183f459;p=ipfire-3.x.git Exclude some filetypes in strip that definately are no shared objects. --- diff --git a/lfs/strip b/lfs/strip index 5ee902953..c865c6390 100644 --- a/lfs/strip +++ b/lfs/strip @@ -32,7 +32,11 @@ OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) WHAT = -mount -type f -not -path '.$(TOOLS_DIR)*' \ -not -path './tmp*' -not -path './usr/src*' -not -path './dev*' \ - -not -path './proc*' -not -path './sys*' + -not -path './proc*' -not -path './sys*' -not -name '*.h' \ + -not -name '*.txt' -not -name '*.m4' -not -name '*.c' -not -name '*.pl' \ + -not -name '*.py' -not -name '*.sh' -not -name '*.bash' \ + -not -name '*.info' -not -name '*.gz' -not -name '*.bz2' \ + -not -name '*.a' -not -name '*.la' -not -name '*.mo' ############################################################################### # Top-level Rules