]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/strip
gitignore: add *.b2 checksum files
[people/pmueller/ipfire-2.x.git] / lfs / strip
index 466dfd9d5696cf4791b91db4b688644c3c8a6c14..c369ac3f18d1e5f391f400343daa3f014b9ce0ab 100644 (file)
--- a/lfs/strip
+++ b/lfs/strip
@@ -39,7 +39,7 @@ check :
 
 download :
 
-md5 :
+b2 :
 
 ###############################################################################
 # Installation Details
@@ -48,13 +48,17 @@ md5 :
 $(TARGET) :
 ifeq "$(TOOLCHAIN)" "1"
        # Strip everything in the toolchain
-       $(DIR_SRC)/src/stripper $(TOOLS_DIR)
+       $(DIR_SRC)/src/stripper $(TOOLS_DIR) \
+               --strip="$(TOOLS_DIR)/$(CROSSTARGET)/bin/strip" \
+               --ignore-errors \
+               --exclude=$(TOOLS_DIR)/$(CROSSTARGET)
 else
        # Don't strip VDR binaries, because they use a weird plugin system
        # which does not work when unneeded symbols get stripped from
        # /usr/sbin/vdr.
        $(DIR_SRC)/src/stripper / \
                --exclude=$(TOOLS_DIR) \
+               --exclude=$(QEMU_TARGET_HELPER) \
                --exclude=/tmp \
                --exclude=/usr/src \
                --exclude=/usr/lib/vdr \