Skip to content

Commit

Permalink
scripts/rstrip.sh: do not strip .o files with STRIP_KMOD
Browse files Browse the repository at this point in the history
Fixes packaging of eBPF modules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Oct 11, 2021
1 parent 977bf5e commit b45ff2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/rstrip.sh
Expand Up @@ -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)
Expand Down

0 comments on commit b45ff2d

Please sign in to comment.