mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/image: print depmod errors so that we can see unresolved symbols when building
This commit is contained in:
parent
eac8bb2a44
commit
7672efd098
@ -229,7 +229,7 @@ fi
|
||||
MODVER=$(basename $(ls -d $INSTALL/usr/lib/modules/*))
|
||||
find $INSTALL/usr/lib/modules/$MODVER/ -name *.ko | \
|
||||
sed -e "s,$INSTALL/usr/lib/modules/$MODVER/,," > $INSTALL/usr/lib/modules/$MODVER/modules.order
|
||||
$TOOLCHAIN/bin/depmod -b $INSTALL/usr $MODVER 2> /dev/null
|
||||
$TOOLCHAIN/bin/depmod -b $INSTALL/usr -a -e -F "$BUILD/linux-$(kernel_version)/System.map" $MODVER
|
||||
|
||||
# strip kernel modules
|
||||
for MOD in `find $INSTALL/usr/lib/modules/ -type f -name *.ko`; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user