From b45ff2d0238ba696eab7c34126b2a1935a1b8cb6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 8 Oct 2021 12:00:49 +0200 Subject: scripts/rstrip.sh: do not strip .o files with STRIP_KMOD Fixes packaging of eBPF modules Signed-off-by: Felix Fietkau --- scripts/rstrip.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 59f8624df2..e47960a941 100755 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -27,6 +27,7 @@ find $TARGETS -type f -a -exec file {} \; | \ while read F S; do echo "$SELF: $F: $S" [ "${S}" = "relocatable" ] && { + [ "${F##*.}" == "o" ] && continue eval "$STRIP_KMOD $F" } || { b=$(stat -c '%a' $F) -- cgit v1.2.3