scripts/rstrip.sh: do not strip .o files with STRIP_KMOD
Fixes packaging of eBPF modules Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
977bf5e980
commit
b45ff2d023
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user