mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-03 04:42:23 +00:00
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
|
while read F S; do
|
||||||
echo "$SELF: $F: $S"
|
echo "$SELF: $F: $S"
|
||||||
[ "${S}" = "relocatable" ] && {
|
[ "${S}" = "relocatable" ] && {
|
||||||
|
[ "${F##*.}" == "o" ] && continue
|
||||||
eval "$STRIP_KMOD $F"
|
eval "$STRIP_KMOD $F"
|
||||||
} || {
|
} || {
|
||||||
b=$(stat -c '%a' $F)
|
b=$(stat -c '%a' $F)
|
||||||
|
Loading…
Reference in New Issue
Block a user