Commit 769e4709 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge tag 'kconfig-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull Kconfig updates from Masahiro Yamada:

 - support -y option for merge_config.sh to avoid downgrading =y to =m

 - remove S_OTHER symbol type, and touch include/config/*.h files correctly

 - fix file name and line number in lexer warnings

 - fix memory leak when EOF is encountered in quotation

 - resolve all shift/reduce conflicts of the parser

 - warn no new line at end of file

 - make 'source' statement more strict to take only string literal

 - rewrite the lexer and remove the keyword lookup table

 - convert to SPDX License Identifier

 - compile C files independently instead of including them from zconf.y

 - fix various warnings of gconfig

 - misc cleanups

* tag 'kconfig-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (39 commits)
  kconfig: surround dbg_sym_flags with #ifdef DEBUG to fix gconf warning
  kconfig: split images.c out of qconf.cc/gconf.c to fix gconf warnings
  kconfig: add static qualifiers to fix gconf warnings
  kconfig: split the lexer out of zconf.y
  kconfig: split some C files out of zconf.y
  kconfig: convert to SPDX License Identifier
  kconfig: remove keyword lookup table entirely
  kconfig: update current_pos in the second lexer
  kconfig: switch to ASSIGN_VAL state in the second lexer
  kconfig: stop associating kconf_id with yylval
  kconfig: refactor end token rules
  kconfig: stop supporting '.' and '/' in unquoted words
  treewide: surround Kconfig file paths with double quotes
  microblaze: surround string default in Kconfig with double quotes
  kconfig: use T_WORD instead of T_VARIABLE for variables
  kconfig: use specific tokens instead of T_ASSIGN for assignments
  kconfig: refactor scanning and parsing "option" properties
  kconfig: use distinct tokens for type and default properties
  kconfig: remove redundant token defines
  kconfig: rename depends_list to comment_option_list
  ...
parents 668c35f6 f222b7f4
...@@ -910,7 +910,7 @@ config PLAT_VERSATILE ...@@ -910,7 +910,7 @@ config PLAT_VERSATILE
source "arch/arm/firmware/Kconfig" source "arch/arm/firmware/Kconfig"
source arch/arm/mm/Kconfig source "arch/arm/mm/Kconfig"
config IWMMXT config IWMMXT
bool "Enable iWMMXt support" bool "Enable iWMMXt support"
......
...@@ -55,6 +55,6 @@ config KVM_ARM_HOST ...@@ -55,6 +55,6 @@ config KVM_ARM_HOST
---help--- ---help---
Provides host support for ARM processors. Provides host support for ARM processors.
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION
...@@ -857,7 +857,7 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK ...@@ -857,7 +857,7 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK
config HOLES_IN_ZONE config HOLES_IN_ZONE
def_bool y def_bool y
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config ARCH_SUPPORTS_DEBUG_PAGEALLOC config ARCH_SUPPORTS_DEBUG_PAGEALLOC
def_bool y def_bool y
......
...@@ -61,6 +61,6 @@ config KVM_ARM_PMU ...@@ -61,6 +61,6 @@ config KVM_ARM_PMU
config KVM_INDIRECT_VECTORS config KVM_INDIRECT_VECTORS
def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS) def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS)
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION
...@@ -261,7 +261,7 @@ config HZ ...@@ -261,7 +261,7 @@ config HZ
endif endif
if !IA64_HP_SIM if !IA64_HP_SIM
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
endif endif
config IA64_BRL_EMU config IA64_BRL_EMU
......
...@@ -122,11 +122,11 @@ config BOOTINFO_PROC ...@@ -122,11 +122,11 @@ config BOOTINFO_PROC
menu "Platform setup" menu "Platform setup"
source arch/m68k/Kconfig.cpu source "arch/m68k/Kconfig.cpu"
source arch/m68k/Kconfig.machine source "arch/m68k/Kconfig.machine"
source arch/m68k/Kconfig.bus source "arch/m68k/Kconfig.bus"
endmenu endmenu
......
...@@ -65,6 +65,6 @@ config XILINX_MICROBLAZE0_USE_FPU ...@@ -65,6 +65,6 @@ config XILINX_MICROBLAZE0_USE_FPU
config XILINX_MICROBLAZE0_HW_VER config XILINX_MICROBLAZE0_HW_VER
string "Core version number" string "Core version number"
default 7.10.d default "7.10.d"
endmenu endmenu
...@@ -73,6 +73,6 @@ config KVM_MIPS_DEBUG_COP0_COUNTERS ...@@ -73,6 +73,6 @@ config KVM_MIPS_DEBUG_COP0_COUNTERS
If unsure, say N. If unsure, say N.
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION
...@@ -138,7 +138,7 @@ config SMP ...@@ -138,7 +138,7 @@ config SMP
If you don't know what to do here, say N. If you don't know what to do here, say N.
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config OPENRISC_NO_SPR_SR_DSX config OPENRISC_NO_SPR_SR_DSX
bool "use SPR_SR_DSX software emulation" if OR1K_1200 bool "use SPR_SR_DSX software emulation" if OR1K_1200
......
...@@ -393,7 +393,7 @@ config HIGHMEM ...@@ -393,7 +393,7 @@ config HIGHMEM
bool "High memory support" bool "High memory support"
depends on PPC32 depends on PPC32
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config HUGETLB_PAGE_SIZE_VARIABLE config HUGETLB_PAGE_SIZE_VARIABLE
bool bool
...@@ -816,7 +816,7 @@ config ARCH_WANTS_FREEZER_CONTROL ...@@ -816,7 +816,7 @@ config ARCH_WANTS_FREEZER_CONTROL
def_bool y def_bool y
depends on ADB_PMU depends on ADB_PMU
source kernel/power/Kconfig source "kernel/power/Kconfig"
config SECCOMP config SECCOMP
bool "Enable seccomp to safely compute untrusted bytecode" bool "Enable seccomp to safely compute untrusted bytecode"
......
...@@ -204,6 +204,6 @@ config KVM_XIVE ...@@ -204,6 +204,6 @@ config KVM_XIVE
default y default y
depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION
...@@ -296,6 +296,6 @@ endmenu ...@@ -296,6 +296,6 @@ endmenu
menu "Power management options" menu "Power management options"
source kernel/power/Kconfig source "kernel/power/Kconfig"
endmenu endmenu
...@@ -518,7 +518,7 @@ config SCHED_TOPOLOGY ...@@ -518,7 +518,7 @@ config SCHED_TOPOLOGY
making when dealing with machines that have multi-threading, making when dealing with machines that have multi-threading,
multiple cores or multiple books. multiple cores or multiple books.
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config KEXEC config KEXEC
def_bool y def_bool y
......
...@@ -57,6 +57,6 @@ config KVM_S390_UCONTROL ...@@ -57,6 +57,6 @@ config KVM_S390_UCONTROL
# OK, it's a little counter-intuitive to do this, but it puts it neatly under # OK, it's a little counter-intuitive to do this, but it puts it neatly under
# the virtualization menu. # the virtualization menu.
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION
...@@ -596,7 +596,7 @@ endmenu ...@@ -596,7 +596,7 @@ endmenu
menu "Kernel features" menu "Kernel features"
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config KEXEC config KEXEC
bool "kexec system call (EXPERIMENTAL)" bool "kexec system call (EXPERIMENTAL)"
......
...@@ -185,7 +185,7 @@ config NR_CPUS ...@@ -185,7 +185,7 @@ config NR_CPUS
default 32 if SPARC32 default 32 if SPARC32
default 4096 if SPARC64 default 4096 if SPARC64
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config RWSEM_GENERIC_SPINLOCK config RWSEM_GENERIC_SPINLOCK
bool bool
......
...@@ -1977,7 +1977,7 @@ config SECCOMP ...@@ -1977,7 +1977,7 @@ config SECCOMP
If unsure, say Y. Only embedded should say N here. If unsure, say Y. Only embedded should say N here.
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config KEXEC config KEXEC
bool "kexec system call" bool "kexec system call"
......
...@@ -98,6 +98,6 @@ config KVM_MMU_AUDIT ...@@ -98,6 +98,6 @@ config KVM_MMU_AUDIT
# OK, it's a little counter-intuitive to do this, but it puts it neatly under # OK, it's a little counter-intuitive to do this, but it puts it neatly under
# the virtualization menu. # the virtualization menu.
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION
...@@ -218,4 +218,4 @@ config BLK_MQ_RDMA ...@@ -218,4 +218,4 @@ config BLK_MQ_RDMA
config BLK_PM config BLK_PM
def_bool BLOCK && PM def_bool BLOCK && PM
source block/Kconfig.iosched source "block/Kconfig.iosched"
...@@ -1889,7 +1889,7 @@ config CRYPTO_HASH_INFO ...@@ -1889,7 +1889,7 @@ config CRYPTO_HASH_INFO
bool bool
source "drivers/crypto/Kconfig" source "drivers/crypto/Kconfig"
source crypto/asymmetric_keys/Kconfig source "crypto/asymmetric_keys/Kconfig"
source certs/Kconfig source "certs/Kconfig"
endif # if CRYPTO endif # if CRYPTO
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment