Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

kbuild: migrate all arch to the kconfig mainmenu upgrade

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information...
commit 838a2e55e6a4e9e8a10451ed2ef0f7a08dabdb04 1 parent c7abe86
Arnaud Lacombe lacombar authored
11 Kconfig
... ... @@ -0,0 +1,11 @@
  1 +#
  2 +# For a description of the syntax of this configuration file,
  3 +# see Documentation/kbuild/kconfig-language.txt.
  4 +#
  5 +mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"
  6 +
  7 +config SRCARCH
  8 + string
  9 + option env="SRCARCH"
  10 +
  11 +source "arch/$SRCARCH/Kconfig"
4 arch/alpha/Kconfig
... ... @@ -1,7 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5 1 config ALPHA
6 2 bool
7 3 default y
7 arch/arm/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "Linux Kernel Configuration"
7   -
8 1 config ARM
9 2 bool
10 3 default y
7 arch/avr32/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "Linux Kernel Configuration"
7   -
8 1 config AVR32
9 2 def_bool y
10 3 # With EMBEDDED=n, we get lots of stuff automatically selected
7 arch/blackfin/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "Blackfin Kernel Configuration"
7   -
8 1 config SYMBOL_PREFIX
9 2 string
10 3 default "_"
7 arch/cris/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see the Configure script.
4   -#
5   -
6   -mainmenu "Linux/CRIS Kernel Configuration"
7   -
8 1 config MMU
9 2 bool
10 3 default y
6 arch/frv/Kconfig
... ... @@ -1,7 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5 1 config FRV
6 2 bool
7 3 default y
@@ -64,8 +60,6 @@ config HZ
64 60 int
65 61 default 1000
66 62
67   -mainmenu "Fujitsu FR-V Kernel Configuration"
68   -
69 63 source "init/Kconfig"
70 64
71 65 source "kernel/Kconfig.freezer"
7 arch/h8300/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "uClinux/h8300 (w/o MMU) Kernel Configuration"
7   -
8 1 config H8300
9 2 bool
10 3 default y
7 arch/ia64/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "IA-64 Linux Kernel Configuration"
7   -
8 1 source "init/Kconfig"
9 2
10 3 source "kernel/Kconfig.freezer"
7 arch/m32r/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "Linux/M32R Kernel Configuration"
7   -
8 1 config M32R
9 2 bool
10 3 default y
6 arch/m68k/Kconfig
... ... @@ -1,7 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5 1 config M68K
6 2 bool
7 3 default y
@@ -65,8 +61,6 @@ config GENERIC_TIME
65 61 config ARCH_USES_GETTIMEOFFSET
66 62 def_bool y
67 63
68   -mainmenu "Linux/68k Kernel Configuration"
69   -
70 64 source "init/Kconfig"
71 65
72 66 source "kernel/Kconfig.freezer"
7 arch/m68knommu/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "uClinux/68k (w/o MMU) Kernel Configuration"
7   -
8 1 config M68K
9 2 bool
10 3 default y
5 arch/microblaze/Kconfig
... ... @@ -1,8 +1,3 @@
1   -# For a description of the syntax of this configuration file,
2   -# see Documentation/kbuild/kconfig-language.txt.
3   -
4   -mainmenu "Linux/Microblaze Kernel Configuration"
5   -
6 1 config MICROBLAZE
7 2 def_bool y
8 3 select HAVE_MEMBLOCK
2  arch/mips/Kconfig
@@ -12,8 +12,6 @@ config MIPS
12 12 select HAVE_FUNCTION_GRAPH_TRACER
13 13 select RTC_LIB if !MACH_LOONGSON
14 14
15   -mainmenu "Linux/MIPS Kernel Configuration"
16   -
17 15 menu "Machine selection"
18 16
19 17 config ZONE_DMA
9 arch/mn10300/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "Linux Kernel Configuration"
7   -
8 1 config MN10300
9 2 def_bool y
10 3 select HAVE_OPROFILE
@@ -69,8 +62,6 @@ config HZ
69 62 int
70 63 default 1000
71 64
72   -mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
73   -
74 65 source "init/Kconfig"
75 66
76 67 source "kernel/Kconfig.freezer"
7 arch/parisc/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "Linux/PA-RISC Kernel Configuration"
7   -
8 1 config PARISC
9 2 def_bool y
10 3 select HAVE_IDE
6 arch/powerpc/Kconfig
... ... @@ -1,9 +1,3 @@
1   -# For a description of the syntax of this configuration file,
2   -# see Documentation/kbuild/kconfig-language.txt.
3   -#
4   -
5   -mainmenu "Linux/PowerPC Kernel Configuration"
6   -
7 1 source "arch/powerpc/platforms/Kconfig.cputype"
8 2
9 3 config PPC32
7 arch/s390/Kconfig
... ... @@ -1,8 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6 1 config SCHED_MC
7 2 def_bool y
8 3 depends on SMP
@@ -78,8 +73,6 @@ config VIRT_CPU_ACCOUNTING
78 73 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
79 74 def_bool y
80 75
81   -mainmenu "Linux Kernel Configuration"
82   -
83 76 config S390
84 77 def_bool y
85 78 select USE_GENERIC_SMP_HELPERS if SMP
5 arch/score/Kconfig
... ... @@ -1,8 +1,3 @@
1   -# For a description of the syntax of this configuration file,
2   -# see Documentation/kbuild/kconfig-language.txt.
3   -
4   -mainmenu "Linux/SCORE Kernel Configuration"
5   -
6 1 menu "Machine selection"
7 2
8 3 choice
7 arch/sh/Kconfig
... ... @@ -1,10 +1,3 @@
1   -#
2   -# For a description of the syntax of this configuration file,
3   -# see Documentation/kbuild/kconfig-language.txt.
4   -#
5   -
6   -mainmenu "Linux/SuperH Kernel Configuration"
7   -
8 1 config SUPERH
9 2 def_bool y
10 3 select EMBEDDED
6 arch/sparc/Kconfig
... ... @@ -1,9 +1,3 @@
1   -# For a description of the syntax of this configuration file,
2   -# see Documentation/kbuild/kconfig-language.txt.
3   -#
4   -
5   -mainmenu "Linux/SPARC Kernel Configuration"
6   -
7 1 config 64BIT
8 2 bool "64-bit kernel" if ARCH = "sparc"
9 3 default ARCH = "sparc64"
2  arch/um/Kconfig.common
@@ -19,8 +19,6 @@ config MMU
19 19 config NO_IOMEM
20 20 def_bool y
21 21
22   -mainmenu "Linux/Usermode Kernel Configuration"
23   -
24 22 config ISA
25 23 bool
26 24
3  arch/x86/Kconfig
... ... @@ -1,6 +1,3 @@
1   -# x86 configuration
2   -mainmenu "Linux Kernel Configuration for x86"
3   -
4 1 # Select 32 or 64 bit
5 2 config 64BIT
6 3 bool "64-bit kernel" if ARCH = "x86"
5 arch/xtensa/Kconfig
... ... @@ -1,8 +1,3 @@
1   -# For a description of the syntax of this configuration file,
2   -# see Documentation/kbuild/kconfig-language.txt.
3   -
4   -mainmenu "Linux/Xtensa Kernel Configuration"
5   -
6 1 config FRAME_POINTER
7 2 def_bool n
8 3
2  scripts/kconfig/Makefile
@@ -8,7 +8,7 @@ PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-c
8 8 ifdef KBUILD_KCONFIG
9 9 Kconfig := $(KBUILD_KCONFIG)
10 10 else
11   -Kconfig := arch/$(SRCARCH)/Kconfig
  11 +Kconfig := Kconfig
12 12 endif
13 13
14 14 xconfig: $(obj)/qconf

0 comments on commit 838a2e5

Please sign in to comment.
Something went wrong with that request. Please try again.