projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
977bf5e
)
scripts/rstrip.sh: do not strip .o files with STRIP_KMOD
author
Felix Fietkau
<nbd@nbd.name>
Fri, 8 Oct 2021 10:00:49 +0000
(12:00 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Mon, 11 Oct 2021 09:49:14 +0000
(11:49 +0200)
Fixes packaging of eBPF modules
Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/rstrip.sh
patch
|
blob
|
history
diff --git
a/scripts/rstrip.sh
b/scripts/rstrip.sh
index 59f8624df209baaa286d54d50fcd0d39848d8b48..e47960a941ae203810fc26f003d44d6df1b075ce 100755
(executable)
--- 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)