mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
linux: use kernel module strip function
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ba2bd991de
commit
e8ce7f8a2c
@ -10,8 +10,9 @@ mkdir -p $INSTALL/lib/modules/$VER
|
||||
cp -r $PKG_BUILD/modules/* $INSTALL
|
||||
rm -f $INSTALL/lib/modules/$VER/modules.*
|
||||
|
||||
$ROOT/$TOOLCHAIN/sbin/depmod -b $INSTALL $VER > /dev/null
|
||||
strip_kmod $INSTALL/lib/modules/$VER/kernel
|
||||
|
||||
$ROOT/$TOOLCHAIN/sbin/depmod -b $INSTALL $VER > /dev/null
|
||||
for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do
|
||||
rm -f $i
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user