AnsweredAssumed Answered

android build fails for MX_O8.0.0_1 sabresd_6dq-userdebug

Question asked by Damiano Bolla on Aug 23, 2018
Latest reply on Oct 6, 2018 by Damiano Bolla

I have a board with MCIMX6Q6AVT10AD, actually a Dave axel-lite board

It runs an old version of Android and I am tasked with having a newer one.

 

I have downloaded IMX_O8.0.0_1.0.0_ANDROID_SOURCE from NXP since it says that it applies to Imx 6Quad

I have followed the instructions on android_O8.0.0_1.0.0_docs ,  Android_User's_Guide.pdf and done

source ~/imx-o8.0.0_1.0.0_ga/imx_android_setup.sh with the associated download

(it would be GREAT if it was possible to use the -u option of repo to specify a LOCAL mirror for the standard android source)

 

Done source build/envsetup.sh and  lunch sabresd_6dq-userdebug (for testing) and make -j 32 results in

build/core/base_rules.mk:238: error: vendor/nxp/fsl-codec: MODULE.TARGET.SHARED_LIBRARIES.lib_nb_amr_dec_v2_arm9_elinux already defined by vendor/fsl-codec

 

Suggestions ?

 

(Yes, I know that I have to adjust the devicetree and kernel, I am here asking for basic android build that fails on suggested example)

 

Build host is a linux amd64, devuan ascii

it builds successfully a vanilla version of android from the standard android repository

Outcomes