Solved Why Kodi.bin is too big after cross compile
#1
Hello

After build Kodi with a toolchain armhf for raspberry pi 2 , the Kodi.bin is too big , this size is ~ 350Mo , the official file do ~ 30 Mo
I make on Ubuntu 64bits.

My setting
Build depends

./configure --with-platform=raspberry-pi --host=arm-linux-gnueabihf --prefix=/usr --with-tarballs=/opt/xbmc-tarballs --with-toolchain=/opt/rbp-dev/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/arm-bcm2708hardfp-linux-gnueabi/sysroot --with-firmware=/opt/rbp-dev/firmware --build=i686-linux

make

After build Kodi

CONFIG_EXTRA="--with-platform=raspberry-pi --enable-libcec --enable-player=omxplayer --disable-x11 --disable-openmax --disable-optical-drive --enable-dvdcss --disable-joystick --disable-vtbdecoder --disable-vaapi --disable-vdpau --enable-alsa" make -C tools/depends/target/xbmc release

make

Why kodi.bin is too big Huh?
Thanks for help.
Reply
#2
several skins inside ?
Reply
#3
--disable-debug or strip the binary.
Reply
#4
Thank , strip binary is a good solution
Reply

Logout Mark Read Team Forum Stats Members Help
Why Kodi.bin is too big after cross compile0