]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/strip
ovpnmain.cgi: Remove using dropped &General::getlastip() function
[ipfire-2.x.git] / lfs / strip
index 9fbdf762746271e2e9f33f97e93d84019d4d4d44..9dad68268f46e6d041c5527b44858af6c2ec632f 100644 (file)
--- a/lfs/strip
+++ b/lfs/strip
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -39,16 +39,17 @@ check :
 
 download :
 
 
 download :
 
-md5 :
+b2 :
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
 $(TARGET) :
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
 $(TARGET) :
-       # 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 $(ROOT) \
-               --exclude=/usr/src --exclude=$(TOOLS_DIR) \
-               --exclude=/usr/sbin/vdr --exclude=/usr/lib/vdr
+ifeq "$(TOOLCHAIN)" "1"
+       # Strip everything in the toolchain
+       $(DIR_SRC)/src/stripper $(TOOLS_DIR) \
+               --strip="$(TOOLS_DIR)/$(CROSSTARGET)/bin/strip" \
+               --ignore-errors \
+               --exclude=$(TOOLS_DIR)/$(CROSSTARGET)
+endif