On 5 August 2013 07:56, sowmya sowmya.ls@calsoftlabs.com wrote:
While trying to compile linaro4.3 SDK for imx53QSB using below command,throws an error : command:
bionic/libc/Android.mk:425: TARGET_CPU_VARIANT is not defined
bionic/libc/arch-arm/arm.mk:32: *** "TARGET_CPU_VARIANT not set or set to
an unknown value. Possible values are cortex-a9, cortex-a15, krait. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.". Stop.
I've just committed a (completely untested) fix for this. http://review.android.git.linaro.org/#/c/4342/
Later added TARGET_CPU_VARIANT variable as cortex-a8 in in device/linaro/iMX53/BoardConfig.mk file.
But cortex-a8 folder is not there in "bionic/libc/arch-arm/ " path.
There is no support for cortex-a8 in 4.3 (no current device uses A8 anymore), and 4.2 didn't have CPU specific optimization bits. So the correct variant for cortex-a8 in 4.3 (unless you want to go an extra step and push optimized functions for A8) is "generic".
I've pushed a patch that should fix this, but it is completely untested, while it should fix this problem, you might run into another one. If you want to be on the safe side, try building the 4.2 branch (that has been done successfully before - nobody else has tried building 4.3 for imx53 before).
ttyl bero