configs: Enable Anbox support on arm64 builds
authorPhil Elwell <phil@raspberrypi.com>
Wed, 16 Jun 2021 16:44:04 +0000 (17:44 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Wed, 16 Jun 2021 16:47:38 +0000 (17:47 +0100)
commit9eba2146c8991d0ef8a9dfc5c82faa1ce997e4f0
treefbd2cc75aaea8364fa9d7b7dc95bde6f0f9fe8e9
parent70de7e6c4c7e939711c2bdd0f8bbea02db336ce3
configs: Enable Anbox support on arm64 builds

In order to allow containerised Android apps to run, add the following
config settings on 64-bit builds:

 CONFIG_ANDROID=y
 CONFIG_ANDROID_BINDER_IPC=y
 CONFIG_ANDROID_BINDERFS=y
 CONFIG_ASHMEM=y

This has a memory overhead of about 130kB and no other performance
penalty.

See: https://github.com/raspberrypi/linux/issues/4162

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm64/configs/bcm2711_defconfig
arch/arm64/configs/bcmrpi3_defconfig