[openwrt/openwrt] scripts/rstrip.sh: do not strip .o files with STRIP_KMOD
LEDE Commits
lede-commits at lists.infradead.org
Mon Oct 11 02:49:23 PDT 2021
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b45ff2d0238ba696eab7c34126b2a1935a1b8cb6
commit b45ff2d0238ba696eab7c34126b2a1935a1b8cb6
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Oct 8 12:00:49 2021 +0200
scripts/rstrip.sh: do not strip .o files with STRIP_KMOD
Fixes packaging of eBPF modules
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
scripts/rstrip.sh | 1 +
1 file changed, 1 insertion(+)
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)
More information about the lede-commits
mailing list