Commit cc262289 authored by Edward Wang's avatar Edward Wang

src: armeabi for ARMv6 could also be in CPU_ABI2

Example of such a device:

(12:34:14 PM) <funman> ARMv6 build on non-ARMv6 device
(12:35:03 PM) <funman> ro.product.cpu.abi=armeabi-v6l
(12:35:03 PM) <funman> ro.product.cpu.abi2=armeabi
parent ed4e0b41
......@@ -245,7 +245,8 @@ public class Util {
if(android.os.Build.CPU_ABI.equals("armeabi-v7a")) {
hasArmV7 = true;
hasArmV6 = true; /* Armv7 is backwards compatible to < v6 */
} else if(android.os.Build.CPU_ABI.equals("armeabi")) {
} else if(android.os.Build.CPU_ABI.equals("armeabi") ||
android.os.Build.CPU_ABI2.equals("armeabi")) {
hasArmV6 = true;
} else if(android.os.Build.CPU_ABI.equals("x86")) {
hasX86 = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment