# SPDX-License-Identifier: GPL-2.0
menu "Android"

config ANDROID_STAGING
	bool

config AMLOGIC_ASHMEM
	bool "Enable the Anonymous Shared Memory Subsystem"
	depends on SHMEM
	select ANDROID_STAGING
	help
	  The ashmem subsystem is a new shared memory allocator, similar to
	  POSIX SHM but with different behavior and sporting a simpler
	  file-based API.

	  It is, in theory, a good memory allocator for low-memory devices,
	  because it can discard shared memory units when under memory pressure.

config ASHMEM_C
	depends on ARM && !ASHMEM
	def_bool AMLOGIC_ASHMEM

endmenu
