Compile the non-neon version of xbmc-android

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.