]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/strip
Merge remote-tracking branch 'origin/next' into kernel-4.14
[ipfire-2.x.git] / lfs / strip
index 3ae1bde6f5241b69de99eab65661b2913b227c9f..9fbdf762746271e2e9f33f97e93d84019d4d4d44 100644 (file)
--- a/lfs/strip
+++ b/lfs/strip
@@ -46,4 +46,9 @@ md5 :
 ###############################################################################
 
 $(TARGET) :
-       STRIP="/tools/bin/strip" $(DIR_SRC)/src/stripper /
+       # 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