mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
config/functions: fix kernel module stripping
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user