mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Make ANDROID a menuconfig to ease disabling it all
@ 2017-04-14  9:04 Vincent Legoll
  2017-04-14  9:27 ` Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Legoll @ 2017-04-14  9:04 UTC (permalink / raw)
  To: gregkh, arve, riandrews, devel, linux-kernel; +Cc: Vincent Legoll

No need to get into the submenu to disable all ANDROID-related config entries

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 drivers/android/Kconfig | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/drivers/android/Kconfig b/drivers/android/Kconfig
index a82fc02..c2b6c37 100644
--- a/drivers/android/Kconfig
+++ b/drivers/android/Kconfig
@@ -1,15 +1,11 @@
-menu "Android"
-
-config ANDROID
+menuconfig ANDROID
 	bool "Android Drivers"
 	---help---
 	  Enable support for various drivers needed on the Android platform
 
-if ANDROID
-
 config ANDROID_BINDER_IPC
 	bool "Android Binder IPC Driver"
-	depends on MMU
+	depends on ANDROID && MMU
 	default n
 	---help---
 	  Binder is used in Android for both communication between processes,
@@ -43,7 +39,3 @@ config ANDROID_BINDER_IPC_32BIT
 	  earlier).
 
 	  Note that enabling this will break newer Android user-space.
-
-endif # if ANDROID
-
-endmenu
-- 
2.9.3

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH] Make ANDROID a menuconfig to ease disabling it all
@ 2017-12-03 18:33 Vincent Legoll
  0 siblings, 0 replies; 6+ messages in thread
From: Vincent Legoll @ 2017-12-03 18:33 UTC (permalink / raw)
  To: gregkh, arve, riandrews, devel, linux-kernel; +Cc: Vincent Legoll

No need to get into the submenu to disable all ANDROID-related config entries

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 drivers/android/Kconfig | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/android/Kconfig b/drivers/android/Kconfig
index 7dce3795b887..e9434777acba 100644
--- a/drivers/android/Kconfig
+++ b/drivers/android/Kconfig
@@ -1,7 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
-menu "Android"
-
-config ANDROID
+menuconfig ANDROID
 	bool "Android Drivers"
 	---help---
 	  Enable support for various drivers needed on the Android platform
@@ -56,5 +54,3 @@ config ANDROID_BINDER_IPC_SELFTEST
 	  alignments.
 
 endif # if ANDROID
-
-endmenu
-- 
2.11.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-03 18:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14  9:04 [PATCH] Make ANDROID a menuconfig to ease disabling it all Vincent Legoll
2017-04-14  9:27 ` Greg KH
2017-04-14  9:46   ` Vincent Legoll
2017-04-14 12:32     ` Greg KH
2017-04-14 12:46       ` Vincent Legoll
2017-12-03 18:33 Vincent Legoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®