Skip to contentSkip to conversation

arm: reduce conflicts in Kcinfig.debug

PATCH In review Stephen Rothwell 2 participants 2 messages Jan 30, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: reduce conflicts in Kcinfig.debug

I have seen several conflicts in this file (and other Kconfig files) over time, so I suggest a solution like below.

Create new config symbols that can be selected by other configs and use them as single dependencies rather than having long lists of other config symbols as dependencies.

---
 arch/arm/Kconfig       |  1 +
 arch/arm/Kconfig.debug | 55 +++++++++++++++++++++++++++++++++++---------------
 2 files changed, 40 insertions(+), 16 deletions(-)

Not actually tested, but it was a very mechanical transformation. This is against Russell's current arm tree in linux-next, so there would be some adjustments required for the arm-soc tree. There are probably some other places that this technique would be useful as well.

arch/arm/Kconfig +1 -0
index 1f5eb9aee750..1c9ad3832f88 100644
@@ -432,6 +432,7 @@ config ARCH_EP93XX
 	select ARM_VIC
 	select CLKDEV_LOOKUP
 	select CPU_ARM920T
+	select DEBUG_UART_PHYS_ENABLE
 	help
 	  This enables support for the Cirrus EP93xx series of CPUs.
 
arch/arm/Kconfig.debug +39 -16

191 lines not on this page · raw message

Signature · 12 lines
2.1.4

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150130/6655b3c9/attachment.sig>
#1 lore raw

Hi Stephen,

Quoted 8 lines · Stephen Rothwell

I have seen several conflicts in this file (and other Kconfig files) over time, so I suggest a solution like below.

Create new config symbols that can be selected by other configs and use them as single dependencies rather than having long lists of other config symbols as dependencies.

For subject: s/Kcinfig/Kconfig/

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -