summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2018-10-25 17:45:34 -0500
committerPraneeth Bajjuri2018-10-26 16:41:48 -0500
commit782b8c9e94ccb9a8e0980eb188f86f86764003a4 (patch)
tree9430eed9be4aace900b0e86b5212bc11f112168d
parent1fe6e773828f8483f97e5d335db1c392ccaaa7b6 (diff)
downloaddevice-ti-j721e-782b8c9e94ccb9a8e0980eb188f86f86764003a4.tar.gz
device-ti-j721e-782b8c9e94ccb9a8e0980eb188f86f86764003a4.tar.xz
device-ti-j721e-782b8c9e94ccb9a8e0980eb188f86f86764003a4.zip
am65xevm: Add support for 64b and 32b apps
Set TARGET_SUPPORTS_32_BIT_APPS and TARGET_SUPPORTS_64_BIT_APPS, TARGET_PREFERS_32_BIT_APPS get apps to build for 32-bit only, and leaves TARGET_SUPPORTS_64_BIT_APPS unset. This confuses zygote64 because it finds an empty 64-bit ABI list and causes zygote* process to fail on android init. Hence Enabling support for both 32b and 64b apps. and making 64b as primary , 32b as secondary Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--BoardConfig.mk3
-rw-r--r--device-common.mk5
2 files changed, 8 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 2b6ddd6..e64d531 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -36,7 +36,10 @@ TARGET_NO_RECOVERY := true
36PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE := legacy 36PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE := legacy
37PRODUCT_FULL_TREBLE_OVERRIDE := true 37PRODUCT_FULL_TREBLE_OVERRIDE := true
38BOARD_VNDK_VERSION := current 38BOARD_VNDK_VERSION := current
39
39TARGET_USES_64_BIT_BINDER := true 40TARGET_USES_64_BIT_BINDER := true
41TARGET_SUPPORTS_32_BIT_APPS := true
42TARGET_SUPPORTS_64_BIT_APPS := true
40 43
41TARGET_USES_HWC2 := true 44TARGET_USES_HWC2 := true
42USE_CAMERA_STUB := true 45USE_CAMERA_STUB := true
diff --git a/device-common.mk b/device-common.mk
index 3b38ee8..2a23fae 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -34,6 +34,11 @@ PRODUCT_PACKAGES += \
34 libunwind 34 libunwind
35 35
36PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true 36PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
37
38# Set zygote config
39PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64_32
40PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc
41
37# Audio 42# Audio
38PRODUCT_PACKAGES += \ 43PRODUCT_PACKAGES += \
39 android.hardware.audio@2.0-impl \ 44 android.hardware.audio@2.0-impl \