From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWxhf-0006vV-BR for barebox@lists.infradead.org; Fri, 08 May 2020 07:45:52 +0000 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1jWxhd-0004L0-OQ for barebox@lists.infradead.org; Fri, 08 May 2020 09:45:49 +0200 References: <20200508062530.23241-1-a.fatoum@pengutronix.de> <20200508062530.23241-5-a.fatoum@pengutronix.de> From: Ahmad Fatoum Message-ID: <03c8bd41-d157-fc66-c6d7-fdae0f34efeb@pengutronix.de> Date: Fri, 8 May 2020 09:45:49 +0200 MIME-Version: 1.0 In-Reply-To: <20200508062530.23241-5-a.fatoum@pengutronix.de> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 5/5] drivers: add COMPILE_TEST prompts for some off-by-default options To: "barebox@lists.infradead.org" On 5/8/20 8:25 AM, Ahmad Fatoum wrote: > Some Kconfig options we have are promptless and off-by-default and > instead can only be enabled by being selected from platform options. > > For some of those that aren't compile testable, add a new s/aren't/are/ I can send a v2 if needed. > COMPILE_TEST-only prompt. > > Signed-off-by: Ahmad Fatoum > --- > common/Kconfig | 4 ++-- > drivers/clocksource/Kconfig | 28 ++++++++++++++-------------- > drivers/ddr/fsl/Kconfig | 2 +- > drivers/pci/Kconfig | 2 +- > lib/Kconfig | 2 +- > 5 files changed, 19 insertions(+), 19 deletions(-) > > diff --git a/common/Kconfig b/common/Kconfig > index 4bb0b80ebd58..460ac487cb05 100644 > --- a/common/Kconfig > +++ b/common/Kconfig > @@ -38,8 +38,8 @@ config BLOCK_WRITE > bool > > config ELF > - bool > - depends on MIPS > + bool "ELF Support" if COMPILE_TEST > + depends on MIPS || COMPILE_TEST > > config FILETYPE > bool > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > index bc2aae7ad723..92d83f7e7d2b 100644 > --- a/drivers/clocksource/Kconfig > +++ b/drivers/clocksource/Kconfig > @@ -12,16 +12,16 @@ config ARM_SMP_TWD > depends on ARM && CPU_V7 > > config CLOCKSOURCE_BCM283X > - bool > - depends on ARCH_BCM283X > + bool "BCM283x clock source" if COMPILE_TEST > + depends on ARCH_BCM283X || COMPILE_TEST > > config CLOCKSOURCE_CLPS711X > - bool > - depends on ARCH_CLPS711X > + bool "CLPS711x clock source" if COMPILE_TEST > + depends on ARCH_CLPS711X || COMPILE_TEST > > config CLOCKSOURCE_DIGIC > - bool > - depends on ARCH_DIGIC > + bool "DIGIC clock source" if COMPILE_TEST > + depends on ARCH_DIGIC || COMPILE_TEST > > config CLOCKSOURCE_DUMMY_RATE > int > @@ -52,20 +52,20 @@ config CLOCKSOURCE_KVX > depends on KVX > > config CLOCKSOURCE_MVEBU > - bool > - depends on ARCH_MVEBU > + bool "MVEBU clock source" if COMPILE_TEST > + depends on ARCH_MVEBU || COMPILE_TEST > > config CLOCKSOURCE_NOMADIK > - bool > - depends on ARM > + bool "Nomadik clock source" if COMPILE_TEST > + depends on ARM || COMPILE_TEST > > config CLOCKSOURCE_ORION > - bool > - depends on ARCH_MVEBU > + bool "ORION clock source" if COMPILE_TEST > + depends on ARCH_MVEBU || COMPILE_TEST > > config CLOCKSOURCE_UEMD > - bool > - depends on ARCH_UEMD > + bool "UEMD clock source" if COMPILE_TEST > + depends on ARCH_UEMD || COMPILE_TEST > > config CLOCKSOURCE_ROCKCHIP > bool > diff --git a/drivers/ddr/fsl/Kconfig b/drivers/ddr/fsl/Kconfig > index 9cae9028a2f5..09920bb8632e 100644 > --- a/drivers/ddr/fsl/Kconfig > +++ b/drivers/ddr/fsl/Kconfig > @@ -1,5 +1,5 @@ > config DDR_FSL > - bool > + bool "Freescale DDR support" if COMPILE_TEST > > if DDR_FSL > > diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig > index 542d734c3c8e..058546097621 100644 > --- a/drivers/pci/Kconfig > +++ b/drivers/pci/Kconfig > @@ -1,5 +1,5 @@ > config HW_HAS_PCI > - bool > + bool "Compile in PCI core" if COMPILE_TEST > > if HW_HAS_PCI > > diff --git a/lib/Kconfig b/lib/Kconfig > index e4b347375971..b4a80797009c 100644 > --- a/lib/Kconfig > +++ b/lib/Kconfig > @@ -97,7 +97,7 @@ config IMAGE_SPARSE > bool > > config STMP_DEVICE > - bool > + bool "STMP device support" if COMPILE_TEST > > config FSL_QE_FIRMWARE > select CRC32 > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox