config/functions: fix kernel module stripping

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-30 09:28:13 +01:00
parent 2fd8795926
commit 0f628eed01

View File

@ -154,5 +154,5 @@ strip_linker_plugin() {
strip_kmod() {
[ -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
}