Kconfig (aec6c60a01d3a3170242d6a99372a388e1136dc6) | Kconfig (bfe3911a91047557eb0e620f95a370aee6a248c7) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2config DEFCONFIG_LIST 3 string 4 depends on !UML 5 option defconfig_list 6 default "/lib/modules/$(shell,uname -r)/.config" 7 default "/etc/kernel-config" 8 default "/boot/config-$(shell,uname -r)" --- 12 unchanged lines hidden (view full) --- 21 22 - Ensure full rebuild when the compier is updated 23 include/linux/kconfig.h contains this option in the comment line so 24 fixdep adds include/config/cc/version/text.h into the auto-generated 25 dependency. When the compiler is updated, syncconfig will touch it 26 and then every file will be rebuilt. 27 28config CC_IS_GCC | 1# SPDX-License-Identifier: GPL-2.0-only 2config DEFCONFIG_LIST 3 string 4 depends on !UML 5 option defconfig_list 6 default "/lib/modules/$(shell,uname -r)/.config" 7 default "/etc/kernel-config" 8 default "/boot/config-$(shell,uname -r)" --- 12 unchanged lines hidden (view full) --- 21 22 - Ensure full rebuild when the compier is updated 23 include/linux/kconfig.h contains this option in the comment line so 24 fixdep adds include/config/cc/version/text.h into the auto-generated 25 dependency. When the compiler is updated, syncconfig will touch it 26 and then every file will be rebuilt. 27 28config CC_IS_GCC |
29 def_bool $(success,test "$(cc-name)" = GCC) | 29 def_bool $(success,echo "$(CC_VERSION_TEXT)" | grep -q gcc) |
30 31config GCC_VERSION 32 int | 30 31config GCC_VERSION 32 int |
33 default $(cc-version) if CC_IS_GCC | 33 default $(shell,$(srctree)/scripts/gcc-version.sh $(CC)) if CC_IS_GCC |
34 default 0 35 36config LD_VERSION 37 int 38 default $(shell,$(LD) --version | $(srctree)/scripts/ld-version.sh) 39 40config CC_IS_CLANG | 34 default 0 35 36config LD_VERSION 37 int 38 default $(shell,$(LD) --version | $(srctree)/scripts/ld-version.sh) 39 40config CC_IS_CLANG |
41 def_bool $(success,test "$(cc-name)" = Clang) | 41 def_bool $(success,echo "$(CC_VERSION_TEXT)" | grep -q clang) |
42 43config LD_IS_LLD 44 def_bool $(success,$(LD) -v | head -n 1 | grep -q LLD) 45 46config CLANG_VERSION 47 int | 42 43config LD_IS_LLD 44 def_bool $(success,$(LD) -v | head -n 1 | grep -q LLD) 45 46config CLANG_VERSION 47 int |
48 default $(cc-version) if CC_IS_CLANG 49 default 0 | 48 default $(shell,$(srctree)/scripts/clang-version.sh $(CC)) |
50 51config LLD_VERSION 52 int 53 default $(shell,$(srctree)/scripts/lld-version.sh $(LD)) 54 55config CC_CAN_LINK 56 bool 57 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(m64-flag)) if 64BIT --- 1131 unchanged lines hidden (view full) --- 1189 Allow user space to create what appear to be multiple instances 1190 of the network stack. 1191 1192endif # NAMESPACES 1193 1194config CHECKPOINT_RESTORE 1195 bool "Checkpoint/restore support" 1196 select PROC_CHILDREN | 49 50config LLD_VERSION 51 int 52 default $(shell,$(srctree)/scripts/lld-version.sh $(LD)) 53 54config CC_CAN_LINK 55 bool 56 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(m64-flag)) if 64BIT --- 1131 unchanged lines hidden (view full) --- 1188 Allow user space to create what appear to be multiple instances 1189 of the network stack. 1190 1191endif # NAMESPACES 1192 1193config CHECKPOINT_RESTORE 1194 bool "Checkpoint/restore support" 1195 select PROC_CHILDREN |
1196 select KCMP |
|
1197 default n 1198 help 1199 Enables additional kernel features in a sake of checkpoint/restore. 1200 In particular it adds auxiliary prctl codes to setup process text, 1201 data and heap segment sizes, and a few additional /proc filesystem 1202 entries. 1203 1204 If unsure, say N here. --- 527 unchanged lines hidden (view full) --- 1732 handle page faults in userland. 1733 1734config ARCH_HAS_MEMBARRIER_CALLBACKS 1735 bool 1736 1737config ARCH_HAS_MEMBARRIER_SYNC_CORE 1738 bool 1739 | 1197 default n 1198 help 1199 Enables additional kernel features in a sake of checkpoint/restore. 1200 In particular it adds auxiliary prctl codes to setup process text, 1201 data and heap segment sizes, and a few additional /proc filesystem 1202 entries. 1203 1204 If unsure, say N here. --- 527 unchanged lines hidden (view full) --- 1732 handle page faults in userland. 1733 1734config ARCH_HAS_MEMBARRIER_CALLBACKS 1735 bool 1736 1737config ARCH_HAS_MEMBARRIER_SYNC_CORE 1738 bool 1739 |
1740config KCMP 1741 bool "Enable kcmp() system call" if EXPERT 1742 help 1743 Enable the kernel resource comparison system call. It provides 1744 user-space with the ability to compare two processes to see if they 1745 share a common resource, such as a file descriptor or even virtual 1746 memory space. 1747 1748 If unsure, say N. 1749 |
|
1740config RSEQ 1741 bool "Enable rseq() system call" if EXPERT 1742 default y 1743 depends on HAVE_RSEQ 1744 select MEMBARRIER 1745 help 1746 Enable the restartable sequences system call. It provides a 1747 user-space cache for the current CPU number value, which --- 611 unchanged lines hidden --- | 1750config RSEQ 1751 bool "Enable rseq() system call" if EXPERT 1752 default y 1753 depends on HAVE_RSEQ 1754 select MEMBARRIER 1755 help 1756 Enable the restartable sequences system call. It provides a 1757 user-space cache for the current CPU number value, which --- 611 unchanged lines hidden --- |