Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754049AbdDNJEj (ORCPT ); Fri, 14 Apr 2017 05:04:39 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34191 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753125AbdDNJEh (ORCPT ); Fri, 14 Apr 2017 05:04:37 -0400 From: Vincent Legoll To: gregkh@linuxfoundation.org, arve@android.com, riandrews@android.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Vincent Legoll Subject: [PATCH] Make ANDROID a menuconfig to ease disabling it all Date: Fri, 14 Apr 2017 11:04:21 +0200 Message-Id: <20170414090421.4281-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 961 Lines: 39 No need to get into the submenu to disable all ANDROID-related config entries Signed-off-by: Vincent Legoll --- 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