Search code examples
androidarmportingandroid-sourcecyanogenmod

ARMv6 build for Gingerbread in AOSP


I am trying to port gingerbread to a development board with an ARM11 MPcore processor with ARMv6k architecture. I have added a device to the AOSP source, and my problem is that when I set 'TARGET_ARCH_VARIANT' to armv6k, armv6 or armv6-vfp, I get an error saying that it is unknown when I run lunch.

build/core/combo/TARGET_linux-arm.mk:39: *** Unknown ARM architecture version: armv6-vfp.  Stop.

Is armv6 supported in AOSP, and if so where could I find the possible TARGET_ARCH_VARIANTs? I have been looking around and it seems that CyanogenMod may provide a solution.


Solution

  • armv6 build settings are extra patches from CodeAurora (Qualcomm) and they are absent in AOSP. If you are working on a QC platform better get the Android source from CodeAurora. If you are working on a non QC platform, you can still use their patches around armv6. However that might turn out to be an exhausting job with scattered patches in different gits.