For the neon version of xbmc-android compilation method, refer to the official documentation:
Https://github.com/xbmc/android/blob/android-rebase-11/docs/README.android
My target platform is hi3716c, and its CPU feature is: SWP half thumb fastmult vfp edsp vfpv3 vfpv3d16
As you can see, the CPU of this platform does not support neon.
1. Modify tools/Android/depends/makefile. Include
Change "-mfpu = neon" in platform_flags to "-mfpu = vfpv3" (do not understand should be changed to "-mfpu = vfpv3" or "-mfpu = vfpv3-d16", first try the former)
(-Mfpu interpretation reference: http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html)
2. Modify tools/Android/depends/xbmc/makefile
Remove "-- enable-neon.
(View "Configure. In", you can see that neon is disable by default, so remove "-enable-neon" directly)
3. Follow the readme. Android method to compile depends.
# Cd $ home/xbmc-android/tools/Android/depends #./Bootstrap
#. /Configure -- With-SDK =/home/Zhanghui/opt/Android-SDK -- With-ndk =/home/Zhanghui/opt/Android-ndk -- With-toolchain =/home/ zhanghui/opt/Android-toolchain/Android-9 -- With-tarbils =/home/Zhanghui/opt/xbmc-Android-tarbils
# Make-J 8
Depends compilation successful!
4. Follow the readme. Android method to compile xbmc # cd $ home/xbmc-android # Make-C tools/Android/depends/xbmc
Error:
Automake: No 'makefile. am' found for any configure output
Analysis showed that "CP xxx/xbmc-android /*. the/-RF command does not include "xxx/xbmc-android" in the directory ". /. dummy. am is useful!
5. confirm that the compilation is successful in the complete xbmc-android directory.