[RFC PATCH 1/1] Add the depends to the Android subsystem

1 message Options
Embed this post
Permalink
Michael Trimarchi

[RFC PATCH 1/1] Add the depends to the Android subsystem

Reply Threaded More More options
Print post
Permalink


Add the depends to the Android subsystem for the
Android Shared Memory support

Signed-off-by: Michael Trimarchi <[hidden email]>
---
 init/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 9d036fe..bef9915 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -872,7 +872,7 @@ config AIO
 config ASHMEM
  bool "Enable Android's Shared Memory Subsystem"
  default n
- depends on SHMEM || TINY_SHMEM
+ depends on (SHMEM || TINY_SHMEM) && ANDROID
  help
   The ashmem subsystem is a new shared memory allocator, similar to
   POSIX SHM but with different behavior and sporting a simpler
--
1.6.3.3