Skip to contentSkip to conversation

kconfig: include common Kconfig files from top-level Kconfig

PATCH Applied Antony Pavlov 2 participants 2 messages Nov 29, 2018 – Dec 3, 2018

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

PATCH 1/1 kconfig: include common Kconfig files from top-level Kconfig

Based on this linux kernel commit:

Quoted 5 lines

commit 1572497cb0e6d2016078bc9d5a95786bb878389f

Author: Christoph Hellwig <[email protected]>
Date:   Tue Jul 31 13:39:30 2018 +0200

kconfig: include common Kconfig files from top-level Kconfig

---
 Kconfig               | 8 ++++++++
 arch/arm/Kconfig      | 9 ---------
 arch/blackfin/Kconfig | 8 --------
 arch/mips/Kconfig     | 8 --------
 arch/nios2/Kconfig    | 8 --------
 arch/openrisc/Kconfig | 8 --------
 arch/ppc/Kconfig      | 7 -------
 arch/sandbox/Kconfig  | 8 --------
 arch/x86/Kconfig      | 8 --------
 9 files changed, 8 insertions(+), 64 deletions(-)
Kconfig +8 -0
index 197dd1c4b3..5c99e666c0 100644
@@ -10,4 +10,12 @@ config SRCARCH
 
 source "arch/$SRCARCH/Kconfig"
 
+source common/Kconfig
+source commands/Kconfig
+source net/Kconfig
+source drivers/Kconfig
+source fs/Kconfig
+source lib/Kconfig
+source crypto/Kconfig
+source firmware/Kconfig
 source "scripts/Kconfig"
arch/arm/Kconfig +0 -9
index 3b486f7b8b..cdc22efdeb 100644
@@ -412,12 +412,3 @@ config ARM_PSCI_DEBUG
 	  Only use for debugging.
 
 endmenu
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
-source firmware/Kconfig
arch/blackfin/Kconfig +0 -8
index 6233614e19..c9b5512c0a 100644
@@ -64,11 +64,3 @@ config BFIN_BOOT_FLASH16
 	  blackfin is strapped to boot from 16bit wide flash via boot ROM
 
 endchoice
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/mips/Kconfig +0 -8
index 524375a81a..7c40991cab 100644
@@ -353,11 +353,3 @@ config MIPS_OPTIMIZED_STRING_FUNCTIONS
 	  increase your binary size.
 
 endmenu
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/nios2/Kconfig +0 -8
index 199540ba74..c7c13a464b 100644
@@ -27,11 +27,3 @@ config EARLY_PRINTF
 	bool "Enable early printf functions"
 
 endmenu
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/openrisc/Kconfig +0 -8
index 2a8abf0ff8..32d23029d8 100644
@@ -27,11 +27,3 @@ config GENERIC
 	select OPENRISC
 
 endchoice
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/ppc/Kconfig +0 -7
index 97e6c00689..7a45ced7cd 100644
@@ -20,10 +20,3 @@ endchoice
 
 source arch/ppc/mach-mpc5xxx/Kconfig
 source arch/ppc/mach-mpc85xx/Kconfig
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/sandbox/Kconfig +0 -8
index 3f1cefb837..5227cb624f 100644
@@ -15,11 +15,3 @@ config LINUX
 
 config ARCH_LINUX
 	bool
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/x86/Kconfig +0 -8
index 52ccf4894f..3f91585d02 100644
@@ -97,11 +97,3 @@ endchoice
 
 source arch/x86/boot/Kconfig
 source arch/x86/mach-i386/Kconfig
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
Signature · 7 lines
2.20.0.rc1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 10 lines · Antony Pavlov

Based on this linux kernel commit:

Quoted 5 lines

commit 1572497cb0e6d2016078bc9d5a95786bb878389f

Author: Christoph Hellwig <[email protected]>
Date:   Tue Jul 31 13:39:30 2018 +0200

kconfig: include common Kconfig files from top-level Kconfig

---

Applied, thanks

Sascha

Quoted 160 lines
 Kconfig               | 8 ++++++++
 arch/arm/Kconfig      | 9 ---------
 arch/blackfin/Kconfig | 8 --------
 arch/mips/Kconfig     | 8 --------
 arch/nios2/Kconfig    | 8 --------
 arch/openrisc/Kconfig | 8 --------
 arch/ppc/Kconfig      | 7 -------
 arch/sandbox/Kconfig  | 8 --------
 arch/x86/Kconfig      | 8 --------
 9 files changed, 8 insertions(+), 64 deletions(-)
Kconfig +8 -0
index 197dd1c4b3..5c99e666c0 100644
@@ -10,4 +10,12 @@ config SRCARCH
 
 source "arch/$SRCARCH/Kconfig"
 
+source common/Kconfig
+source commands/Kconfig
+source net/Kconfig
+source drivers/Kconfig
+source fs/Kconfig
+source lib/Kconfig
+source crypto/Kconfig
+source firmware/Kconfig
 source "scripts/Kconfig"
arch/arm/Kconfig +0 -9
index 3b486f7b8b..cdc22efdeb 100644
@@ -412,12 +412,3 @@ config ARM_PSCI_DEBUG
 	  Only use for debugging.
 
 endmenu
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
-source firmware/Kconfig
arch/blackfin/Kconfig +0 -8
index 6233614e19..c9b5512c0a 100644
@@ -64,11 +64,3 @@ config BFIN_BOOT_FLASH16
 	  blackfin is strapped to boot from 16bit wide flash via boot ROM
 
 endchoice
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/mips/Kconfig +0 -8
index 524375a81a..7c40991cab 100644
@@ -353,11 +353,3 @@ config MIPS_OPTIMIZED_STRING_FUNCTIONS
 	  increase your binary size.
 
 endmenu
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/nios2/Kconfig +0 -8
index 199540ba74..c7c13a464b 100644
@@ -27,11 +27,3 @@ config EARLY_PRINTF
 	bool "Enable early printf functions"
 
 endmenu
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/openrisc/Kconfig +0 -8
index 2a8abf0ff8..32d23029d8 100644
@@ -27,11 +27,3 @@ config GENERIC
 	select OPENRISC
 
 endchoice
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/ppc/Kconfig +0 -7
index 97e6c00689..7a45ced7cd 100644
@@ -20,10 +20,3 @@ endchoice
 
 source arch/ppc/mach-mpc5xxx/Kconfig
 source arch/ppc/mach-mpc85xx/Kconfig
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/sandbox/Kconfig +0 -8
index 3f1cefb837..5227cb624f 100644
@@ -15,11 +15,3 @@ config LINUX
 
 config ARCH_LINUX
 	bool
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
arch/x86/Kconfig +0 -8
index 52ccf4894f..3f91585d02 100644
@@ -97,11 +97,3 @@ endchoice
 
 source arch/x86/boot/Kconfig
 source arch/x86/mach-i386/Kconfig
-
-source common/Kconfig
-source commands/Kconfig
-source net/Kconfig
-source drivers/Kconfig
-source fs/Kconfig
-source lib/Kconfig
-source crypto/Kconfig
Signature · 1 line
2.20.0.rc1
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox