mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-05-09 17:16:25 +02: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