mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
config/functions: fix kernel module stripping
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
2fd8795926
commit
0f628eed01
@ -154,5 +154,5 @@ strip_linker_plugin() {
|
|||||||
|
|
||||||
strip_kmod() {
|
strip_kmod() {
|
||||||
[ -z $1 ] && echo "usage strip_kmod <dir>" && exit 1
|
[ -z $1 ] && echo "usage strip_kmod <dir>" && exit 1
|
||||||
find $1 -type f -name '*.ko' | xargs -r $STRIP -R .comment -R .note -g --strip-unneeded
|
find $1 -type f -name '*.ko' | xargs -r $STRIP --strip-debug
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user