]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Exclude some filetypes in strip that definately are no shared objects.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Dec 2008 22:23:10 +0000 (23:23 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Dec 2008 22:23:10 +0000 (23:23 +0100)
lfs/strip

index 5ee902953ab119d738875a3916a028ea12872dfb..c865c63909d5862a1a9ea311e252074462311c9d 100644 (file)
--- 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