Skip to content
Snippets Groups Projects
Commit 6adc19fd authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull more Kbuild updates from Masahiro Yamada:

 - fix build rules in binderfs sample

 - fix build errors when Kbuild recurses to the top Makefile

 - covert '---help---' in Kconfig to 'help'

* tag 'kbuild-v5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
  treewide: replace '---help---' in Kconfig files with 'help'
  kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
  samples: binderfs: really compile this sample and fix build issues
parents 3df83e16 a7f7f624
No related branches found
No related tags found
No related merge requests found
Showing with 61 additions and 75 deletions
...@@ -458,27 +458,13 @@ PYTHON = python ...@@ -458,27 +458,13 @@ PYTHON = python
PYTHON3 = python3 PYTHON3 = python3
CHECK = sparse CHECK = sparse
BASH = bash BASH = bash
GZIP = gzip KGZIP = gzip
BZIP2 = bzip2 KBZIP2 = bzip2
LZOP = lzop KLZOP = lzop
LZMA = lzma LZMA = lzma
LZ4 = lz4c LZ4 = lz4c
XZ = xz XZ = xz
# GZIP, BZIP2, LZOP env vars are used by the tools. Support them as the command
# line interface, but use _GZIP, _BZIP2, _LZOP internally.
_GZIP := $(GZIP)
_BZIP2 := $(BZIP2)
_LZOP := $(LZOP)
# Reset GZIP, BZIP2, LZOP in this Makefile
override GZIP=
override BZIP2=
override LZOP=
# Reset GZIP, BZIP2, LZOP in recursive invocations
MAKEOVERRIDES += GZIP= BZIP2= LZOP=
CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
-Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF) -Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF)
NOSTDINC_FLAGS := NOSTDINC_FLAGS :=
...@@ -526,7 +512,7 @@ CLANG_FLAGS := ...@@ -526,7 +512,7 @@ CLANG_FLAGS :=
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC
export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF PAHOLE LEX YACC AWK INSTALLKERNEL export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF PAHOLE LEX YACC AWK INSTALLKERNEL
export PERL PYTHON PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX export PERL PYTHON PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
export _GZIP _BZIP2 _LZOP LZMA LZ4 XZ export KGZIP KBZIP2 KLZOP LZMA LZ4 XZ
export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE
export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS KBUILD_LDFLAGS export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS KBUILD_LDFLAGS
...@@ -1048,7 +1034,7 @@ export mod_strip_cmd ...@@ -1048,7 +1034,7 @@ export mod_strip_cmd
mod_compress_cmd = true mod_compress_cmd = true
ifdef CONFIG_MODULE_COMPRESS ifdef CONFIG_MODULE_COMPRESS
ifdef CONFIG_MODULE_COMPRESS_GZIP ifdef CONFIG_MODULE_COMPRESS_GZIP
mod_compress_cmd = $(_GZIP) -n -f mod_compress_cmd = $(KGZIP) -n -f
endif # CONFIG_MODULE_COMPRESS_GZIP endif # CONFIG_MODULE_COMPRESS_GZIP
ifdef CONFIG_MODULE_COMPRESS_XZ ifdef CONFIG_MODULE_COMPRESS_XZ
mod_compress_cmd = $(XZ) -f mod_compress_cmd = $(XZ) -f
......
...@@ -876,7 +876,7 @@ config VMAP_STACK ...@@ -876,7 +876,7 @@ config VMAP_STACK
bool "Use a virtually-mapped stack" bool "Use a virtually-mapped stack"
depends on HAVE_ARCH_VMAP_STACK depends on HAVE_ARCH_VMAP_STACK
depends on !KASAN || KASAN_VMALLOC depends on !KASAN || KASAN_VMALLOC
---help--- help
Enable this if you want the use virtually-mapped kernel stacks Enable this if you want the use virtually-mapped kernel stacks
with guard pages. This causes kernel stack overflows to be with guard pages. This causes kernel stack overflows to be
caught immediately rather than causing difficult-to-diagnose caught immediately rather than causing difficult-to-diagnose
...@@ -948,7 +948,7 @@ config ARCH_USE_MEMREMAP_PROT ...@@ -948,7 +948,7 @@ config ARCH_USE_MEMREMAP_PROT
config LOCK_EVENT_COUNTS config LOCK_EVENT_COUNTS
bool "Locking event counts collection" bool "Locking event counts collection"
depends on DEBUG_FS depends on DEBUG_FS
---help--- help
Enable light-weight counting of various locking related events Enable light-weight counting of various locking related events
in the system with minimal performance impact. This reduces in the system with minimal performance impact. This reduces
the chance of application behavior change because of timing the chance of application behavior change because of timing
......
...@@ -83,7 +83,7 @@ menu "System setup" ...@@ -83,7 +83,7 @@ menu "System setup"
choice choice
prompt "Alpha system type" prompt "Alpha system type"
default ALPHA_GENERIC default ALPHA_GENERIC
---help--- help
This is the system type of your hardware. A "generic" kernel will This is the system type of your hardware. A "generic" kernel will
run on any supported Alpha system. However, if you configure a run on any supported Alpha system. However, if you configure a
kernel for your specific system, it will be faster and smaller. kernel for your specific system, it will be faster and smaller.
...@@ -480,7 +480,7 @@ config VGA_HOSE ...@@ -480,7 +480,7 @@ config VGA_HOSE
config ALPHA_QEMU config ALPHA_QEMU
bool "Run under QEMU emulation" bool "Run under QEMU emulation"
depends on !ALPHA_GENERIC depends on !ALPHA_GENERIC
---help--- help
Assume the presence of special features supported by QEMU PALcode Assume the presence of special features supported by QEMU PALcode
that reduce the overhead of system emulation. that reduce the overhead of system emulation.
...@@ -495,7 +495,7 @@ config ALPHA_SRM ...@@ -495,7 +495,7 @@ config ALPHA_SRM
bool "Use SRM as bootloader" if ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS || ALPHA_NONAME bool "Use SRM as bootloader" if ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS || ALPHA_NONAME
depends on TTY depends on TTY
default y if ALPHA_JENSEN || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL default y if ALPHA_JENSEN || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
---help--- help
There are two different types of booting firmware on Alphas: SRM, There are two different types of booting firmware on Alphas: SRM,
which is command line driven, and ARC, which uses menus and arrow which is command line driven, and ARC, which uses menus and arrow
keys. Details about the Linux/Alpha booting process are contained in keys. Details about the Linux/Alpha booting process are contained in
...@@ -521,7 +521,7 @@ config ARCH_MAY_HAVE_PC_FDC ...@@ -521,7 +521,7 @@ config ARCH_MAY_HAVE_PC_FDC
config SMP config SMP
bool "Symmetric multi-processing support" bool "Symmetric multi-processing support"
depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
---help--- help
This enables support for systems with more than one CPU. If you have This enables support for systems with more than one CPU. If you have
a system with only one CPU, say N. If you have a system with more a system with only one CPU, say N. If you have a system with more
than one CPU, say Y. than one CPU, say Y.
...@@ -569,7 +569,7 @@ config ALPHA_WTINT ...@@ -569,7 +569,7 @@ config ALPHA_WTINT
default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA) default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
default n if !ALPHA_SRM && !ALPHA_GENERIC default n if !ALPHA_SRM && !ALPHA_GENERIC
default y if SMP default y if SMP
---help--- help
The Wait for Interrupt (WTINT) PALcall attempts to place the CPU The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
to sleep until the next interrupt. This may reduce the power to sleep until the next interrupt. This may reduce the power
consumed, and the heat produced by the computer. However, it has consumed, and the heat produced by the computer. However, it has
...@@ -595,7 +595,7 @@ config NODES_SHIFT ...@@ -595,7 +595,7 @@ config NODES_SHIFT
# LARGE_VMALLOC is racy, if you *really* need it then fix it first # LARGE_VMALLOC is racy, if you *really* need it then fix it first
config ALPHA_LARGE_VMALLOC config ALPHA_LARGE_VMALLOC
bool bool
---help--- help
Process creation and other aspects of virtual memory management can Process creation and other aspects of virtual memory management can
be streamlined if we restrict the kernel to one PGD for all vmalloc be streamlined if we restrict the kernel to one PGD for all vmalloc
allocations. This equates to about 8GB. allocations. This equates to about 8GB.
...@@ -614,7 +614,7 @@ config VERBOSE_MCHECK_ON ...@@ -614,7 +614,7 @@ config VERBOSE_MCHECK_ON
int "Verbose Printing Mode (0=off, 1=on, 2=all)" int "Verbose Printing Mode (0=off, 1=on, 2=all)"
depends on VERBOSE_MCHECK depends on VERBOSE_MCHECK
default 1 default 1
---help--- help
This option allows the default printing mode to be set, and then This option allows the default printing mode to be set, and then
possibly overridden by a boot command argument. possibly overridden by a boot command argument.
...@@ -633,7 +633,7 @@ choice ...@@ -633,7 +633,7 @@ choice
default HZ_128 if ALPHA_QEMU default HZ_128 if ALPHA_QEMU
default HZ_1200 if ALPHA_RAWHIDE default HZ_1200 if ALPHA_RAWHIDE
default HZ_1024 default HZ_1024
---help--- help
The frequency at which timer interrupts occur. A high frequency The frequency at which timer interrupts occur. A high frequency
minimizes latency, whereas a low frequency minimizes overhead of minimizes latency, whereas a low frequency minimizes overhead of
process accounting. The later effect is especially significant process accounting. The later effect is especially significant
...@@ -668,7 +668,7 @@ config HZ ...@@ -668,7 +668,7 @@ config HZ
config SRM_ENV config SRM_ENV
tristate "SRM environment through procfs" tristate "SRM environment through procfs"
depends on PROC_FS depends on PROC_FS
---help--- help
If you enable this option, a subdirectory inside /proc called If you enable this option, a subdirectory inside /proc called
/proc/srm_environment will give you access to the all important /proc/srm_environment will give you access to the all important
SRM environment variables (those which have a name) and also SRM environment variables (those which have a name) and also
......
...@@ -9,7 +9,7 @@ config ALPHA_LEGACY_START_ADDRESS ...@@ -9,7 +9,7 @@ config ALPHA_LEGACY_START_ADDRESS
bool "Legacy kernel start address" bool "Legacy kernel start address"
depends on ALPHA_GENERIC depends on ALPHA_GENERIC
default n default n
---help--- help
The 2.4 kernel changed the kernel start address from 0x310000 The 2.4 kernel changed the kernel start address from 0x310000
to 0x810000 to make room for the Wildfire's larger SRM console. to 0x810000 to make room for the Wildfire's larger SRM console.
Recent consoles on Titan and Marvel machines also require the Recent consoles on Titan and Marvel machines also require the
......
...@@ -348,7 +348,7 @@ config NODES_SHIFT ...@@ -348,7 +348,7 @@ config NODES_SHIFT
default "0" if !DISCONTIGMEM default "0" if !DISCONTIGMEM
default "1" if DISCONTIGMEM default "1" if DISCONTIGMEM
depends on NEED_MULTIPLE_NODES depends on NEED_MULTIPLE_NODES
---help--- help
Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory
zones. zones.
......
...@@ -1655,7 +1655,7 @@ config UACCESS_WITH_MEMCPY ...@@ -1655,7 +1655,7 @@ config UACCESS_WITH_MEMCPY
config SECCOMP config SECCOMP
bool bool
prompt "Enable seccomp to safely compute untrusted bytecode" prompt "Enable seccomp to safely compute untrusted bytecode"
---help--- help
This kernel feature is useful for number crunching applications This kernel feature is useful for number crunching applications
that may need to compute untrusted bytecode during their that may need to compute untrusted bytecode during their
execution. By using pipes or other transports made available to execution. By using pipes or other transports made available to
...@@ -1963,7 +1963,7 @@ config EFI ...@@ -1963,7 +1963,7 @@ config EFI
select EFI_STUB select EFI_STUB
select EFI_GENERIC_STUB select EFI_GENERIC_STUB
select EFI_RUNTIME_WRAPPERS select EFI_RUNTIME_WRAPPERS
---help--- help
This option provides support for runtime services provided This option provides support for runtime services provided
by UEFI firmware (such as non-volatile variables, realtime by UEFI firmware (such as non-volatile variables, realtime
clock, and platform reset). A UEFI stub is also provided to clock, and platform reset). A UEFI stub is also provided to
...@@ -2005,7 +2005,7 @@ comment "At least one emulation must be selected" ...@@ -2005,7 +2005,7 @@ comment "At least one emulation must be selected"
config FPE_NWFPE config FPE_NWFPE
bool "NWFPE math emulation" bool "NWFPE math emulation"
depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
---help--- help
Say Y to include the NWFPE floating point emulator in the kernel. Say Y to include the NWFPE floating point emulator in the kernel.
This is necessary to run most binaries. Linux does not currently This is necessary to run most binaries. Linux does not currently
support floating point hardware so you need to say Y here even if support floating point hardware so you need to say Y here even if
...@@ -2029,7 +2029,7 @@ config FPE_NWFPE_XP ...@@ -2029,7 +2029,7 @@ config FPE_NWFPE_XP
config FPE_FASTFPE config FPE_FASTFPE
bool "FastFPE math emulation (EXPERIMENTAL)" bool "FastFPE math emulation (EXPERIMENTAL)"
depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 depends on (!AEABI || OABI_COMPAT) && !CPU_32v3
---help--- help
Say Y here to include the FAST floating point emulator in the kernel. Say Y here to include the FAST floating point emulator in the kernel.
This is an experimental much faster emulator which now also has full This is an experimental much faster emulator which now also has full
precision for the mantissa. It does not support any exceptions. precision for the mantissa. It does not support any exceptions.
......
...@@ -9,7 +9,7 @@ config ARM_PTDUMP_DEBUGFS ...@@ -9,7 +9,7 @@ config ARM_PTDUMP_DEBUGFS
depends on MMU depends on MMU
select ARM_PTDUMP_CORE select ARM_PTDUMP_CORE
select DEBUG_FS select DEBUG_FS
---help--- help
Say Y here if you want to show the kernel pagetable layout in a Say Y here if you want to show the kernel pagetable layout in a
debugfs file. This information is only useful for kernel developers debugfs file. This information is only useful for kernel developers
who are working in architecture specific areas of the kernel. who are working in architecture specific areas of the kernel.
...@@ -21,7 +21,7 @@ config DEBUG_WX ...@@ -21,7 +21,7 @@ config DEBUG_WX
bool "Warn on W+X mappings at boot" bool "Warn on W+X mappings at boot"
depends on MMU depends on MMU
select ARM_PTDUMP_CORE select ARM_PTDUMP_CORE
---help--- help
Generate a warning if any W+X mappings are found at boot. Generate a warning if any W+X mappings are found at boot.
This is useful for discovering cases where the kernel is leaving This is useful for discovering cases where the kernel is leaving
......
...@@ -56,7 +56,7 @@ trap 'rm -f "$XIPIMAGE.tmp"; exit 1' 1 2 3 ...@@ -56,7 +56,7 @@ trap 'rm -f "$XIPIMAGE.tmp"; exit 1' 1 2 3
# substitute the data section by a compressed version # substitute the data section by a compressed version
$DD if="$XIPIMAGE" count=$data_start iflag=count_bytes of="$XIPIMAGE.tmp" $DD if="$XIPIMAGE" count=$data_start iflag=count_bytes of="$XIPIMAGE.tmp"
$DD if="$XIPIMAGE" skip=$data_start iflag=skip_bytes | $DD if="$XIPIMAGE" skip=$data_start iflag=skip_bytes |
$_GZIP -9 >> "$XIPIMAGE.tmp" $KGZIP -9 >> "$XIPIMAGE.tmp"
# replace kernel binary # replace kernel binary
mv -f "$XIPIMAGE.tmp" "$XIPIMAGE" mv -f "$XIPIMAGE.tmp" "$XIPIMAGE"
...@@ -22,7 +22,7 @@ config ARCH_PERSONAL_SERVER ...@@ -22,7 +22,7 @@ config ARCH_PERSONAL_SERVER
select ISA select ISA
select ISA_DMA select ISA_DMA
select FORCE_PCI select FORCE_PCI
---help--- help
Say Y here if you intend to run this kernel on the Compaq Say Y here if you intend to run this kernel on the Compaq
Personal Server. Personal Server.
......
...@@ -1035,7 +1035,7 @@ config CC_HAVE_SHADOW_CALL_STACK ...@@ -1035,7 +1035,7 @@ config CC_HAVE_SHADOW_CALL_STACK
config SECCOMP config SECCOMP
bool "Enable seccomp to safely compute untrusted bytecode" bool "Enable seccomp to safely compute untrusted bytecode"
---help--- help
This kernel feature is useful for number crunching applications This kernel feature is useful for number crunching applications
that may need to compute untrusted bytecode during their that may need to compute untrusted bytecode during their
execution. By using pipes or other transports made available to execution. By using pipes or other transports made available to
...@@ -1068,7 +1068,7 @@ config KEXEC ...@@ -1068,7 +1068,7 @@ config KEXEC
depends on PM_SLEEP_SMP depends on PM_SLEEP_SMP
select KEXEC_CORE select KEXEC_CORE
bool "kexec system call" bool "kexec system call"
---help--- help
kexec is a system call that implements the ability to shutdown your kexec is a system call that implements the ability to shutdown your
current kernel, and to start another kernel. It is like a reboot current kernel, and to start another kernel. It is like a reboot
but it is independent of the system firmware. And like a reboot but it is independent of the system firmware. And like a reboot
......
...@@ -7,7 +7,7 @@ source "virt/lib/Kconfig" ...@@ -7,7 +7,7 @@ source "virt/lib/Kconfig"
menuconfig VIRTUALIZATION menuconfig VIRTUALIZATION
bool "Virtualization" bool "Virtualization"
---help--- help
Say Y here to get to see options for using your Linux host to run Say Y here to get to see options for using your Linux host to run
other operating systems inside virtual machines (guests). other operating systems inside virtual machines (guests).
This option alone does not add any kernel code. This option alone does not add any kernel code.
...@@ -40,7 +40,7 @@ menuconfig KVM ...@@ -40,7 +40,7 @@ menuconfig KVM
select HAVE_KVM_VCPU_RUN_PID_CHANGE select HAVE_KVM_VCPU_RUN_PID_CHANGE
select TASKSTATS select TASKSTATS
select TASK_DELAY_ACCT select TASK_DELAY_ACCT
---help--- help
Support hosting virtualized guest machines. Support hosting virtualized guest machines.
If unsure, say N. If unsure, say N.
...@@ -53,7 +53,7 @@ config KVM_ARM_PMU ...@@ -53,7 +53,7 @@ config KVM_ARM_PMU
bool "Virtual Performance Monitoring Unit (PMU) support" bool "Virtual Performance Monitoring Unit (PMU) support"
depends on HW_PERF_EVENTS depends on HW_PERF_EVENTS
default y default y
---help--- help
Adds support for a virtual Performance Monitoring Unit (PMU) in Adds support for a virtual Performance Monitoring Unit (PMU) in
virtual machines. virtual machines.
......
...@@ -31,13 +31,13 @@ config HEXAGON ...@@ -31,13 +31,13 @@ config HEXAGON
select GENERIC_CLOCKEVENTS_BROADCAST select GENERIC_CLOCKEVENTS_BROADCAST
select MODULES_USE_ELF_RELA select MODULES_USE_ELF_RELA
select GENERIC_CPU_DEVICES select GENERIC_CPU_DEVICES
---help--- help
Qualcomm Hexagon is a processor architecture designed for high Qualcomm Hexagon is a processor architecture designed for high
performance and low power across a wide variety of applications. performance and low power across a wide variety of applications.
config HEXAGON_PHYS_OFFSET config HEXAGON_PHYS_OFFSET
def_bool y def_bool y
---help--- help
Platforms that don't load the kernel at zero set this. Platforms that don't load the kernel at zero set this.
config FRAME_POINTER config FRAME_POINTER
...@@ -83,7 +83,7 @@ choice ...@@ -83,7 +83,7 @@ choice
config HEXAGON_COMET config HEXAGON_COMET
bool "Comet Board" bool "Comet Board"
---help--- help
Support for the Comet platform. Support for the Comet platform.
endchoice endchoice
...@@ -104,7 +104,7 @@ config CMDLINE ...@@ -104,7 +104,7 @@ config CMDLINE
config SMP config SMP
bool "Multi-Processing support" bool "Multi-Processing support"
---help--- help
Enables SMP support in the kernel. If unsure, say "Y" Enables SMP support in the kernel. If unsure, say "Y"
config NR_CPUS config NR_CPUS
...@@ -112,7 +112,7 @@ config NR_CPUS ...@@ -112,7 +112,7 @@ config NR_CPUS
range 2 6 if SMP range 2 6 if SMP
default "1" if !SMP default "1" if !SMP
default "6" if SMP default "6" if SMP
---help--- help
This allows you to specify the maximum number of CPUs which this This allows you to specify the maximum number of CPUs which this
kernel will support. The maximum supported value is 6 and the kernel will support. The maximum supported value is 6 and the
minimum value which makes sense is 2. minimum value which makes sense is 2.
...@@ -123,7 +123,7 @@ config NR_CPUS ...@@ -123,7 +123,7 @@ config NR_CPUS
choice choice
prompt "Kernel page size" prompt "Kernel page size"
default PAGE_SIZE_4KB default PAGE_SIZE_4KB
---help--- help
Changes the default page size; use with caution. Changes the default page size; use with caution.
config PAGE_SIZE_4KB config PAGE_SIZE_4KB
......
...@@ -243,7 +243,7 @@ config HOTPLUG_CPU ...@@ -243,7 +243,7 @@ config HOTPLUG_CPU
bool "Support for hot-pluggable CPUs" bool "Support for hot-pluggable CPUs"
depends on SMP depends on SMP
default n default n
---help--- help
Say Y here to experiment with turning CPUs off and on. CPUs Say Y here to experiment with turning CPUs off and on. CPUs
can be controlled through /sys/devices/system/cpu/cpu#. can be controlled through /sys/devices/system/cpu/cpu#.
Say N if you want to disable CPU hotplug. Say N if you want to disable CPU hotplug.
...@@ -266,7 +266,7 @@ config PERMIT_BSP_REMOVE ...@@ -266,7 +266,7 @@ config PERMIT_BSP_REMOVE
bool "Support removal of Bootstrap Processor" bool "Support removal of Bootstrap Processor"
depends on HOTPLUG_CPU depends on HOTPLUG_CPU
default n default n
---help--- help
Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
support. support.
...@@ -274,7 +274,7 @@ config FORCE_CPEI_RETARGET ...@@ -274,7 +274,7 @@ config FORCE_CPEI_RETARGET
bool "Force assumption that CPEI can be re-targeted" bool "Force assumption that CPEI can be re-targeted"
depends on PERMIT_BSP_REMOVE depends on PERMIT_BSP_REMOVE
default n default n
---help--- help
Say Y if you need to force the assumption that CPEI can be re-targeted to Say Y if you need to force the assumption that CPEI can be re-targeted to
any cpu in the system. This hint is available via ACPI 3.0 specifications. any cpu in the system. This hint is available via ACPI 3.0 specifications.
Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP. Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
......
...@@ -40,7 +40,7 @@ $(error Sorry, you need a newer version of the assember, one that is built from ...@@ -40,7 +40,7 @@ $(error Sorry, you need a newer version of the assember, one that is built from
endif endif
quiet_cmd_gzip = GZIP $@ quiet_cmd_gzip = GZIP $@
cmd_gzip = cat $(real-prereqs) | $(_GZIP) -n -f -9 > $@ cmd_gzip = cat $(real-prereqs) | $(KGZIP) -n -f -9 > $@
quiet_cmd_objcopy = OBJCOPY $@ quiet_cmd_objcopy = OBJCOPY $@
cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@ cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@
......
...@@ -343,7 +343,7 @@ config M68KFPU_EMU_ONLY ...@@ -343,7 +343,7 @@ config M68KFPU_EMU_ONLY
config ADVANCED config ADVANCED
bool "Advanced configuration options" bool "Advanced configuration options"
depends on MMU depends on MMU
---help--- help
This gives you access to some advanced options for the CPU. The This gives you access to some advanced options for the CPU. The
defaults should be fine for most users, but these options may make defaults should be fine for most users, but these options may make
it possible for you to improve performance somewhat if you know what it possible for you to improve performance somewhat if you know what
...@@ -358,7 +358,7 @@ config ADVANCED ...@@ -358,7 +358,7 @@ config ADVANCED
config RMW_INSNS config RMW_INSNS
bool "Use read-modify-write instructions" bool "Use read-modify-write instructions"
depends on ADVANCED depends on ADVANCED
---help--- help
This allows to use certain instructions that work with indivisible This allows to use certain instructions that work with indivisible
read-modify-write bus cycles. While this is faster than the read-modify-write bus cycles. While this is faster than the
workaround of disabling interrupts, it can conflict with DMA workaround of disabling interrupts, it can conflict with DMA
...@@ -386,7 +386,7 @@ config ARCH_DISCONTIGMEM_ENABLE ...@@ -386,7 +386,7 @@ config ARCH_DISCONTIGMEM_ENABLE
config 060_WRITETHROUGH config 060_WRITETHROUGH
bool "Use write-through caching for 68060 supervisor accesses" bool "Use write-through caching for 68060 supervisor accesses"
depends on ADVANCED && M68060 depends on ADVANCED && M68060
---help--- help
The 68060 generally uses copyback caching of recently accessed data. The 68060 generally uses copyback caching of recently accessed data.
Copyback caching means that memory writes will be held in an on-chip Copyback caching means that memory writes will be held in an on-chip
cache and only written back to memory some time later. Saying Y cache and only written back to memory some time later. Saying Y
......
...@@ -59,7 +59,7 @@ config NFETH ...@@ -59,7 +59,7 @@ config NFETH
config ATARI_ETHERNAT config ATARI_ETHERNAT
bool "Atari EtherNAT Ethernet support" bool "Atari EtherNAT Ethernet support"
depends on ATARI depends on ATARI
---help--- help
Say Y to include support for the EtherNAT network adapter for the Say Y to include support for the EtherNAT network adapter for the
CT/60 extension port. CT/60 extension port.
...@@ -69,7 +69,7 @@ config ATARI_ETHERNAT ...@@ -69,7 +69,7 @@ config ATARI_ETHERNAT
config ATARI_ETHERNEC config ATARI_ETHERNEC
bool "Atari EtherNEC Ethernet support" bool "Atari EtherNEC Ethernet support"
depends on ATARI_ROM_ISA depends on ATARI_ROM_ISA
---help--- help
Say Y to include support for the EtherNEC network adapter for the Say Y to include support for the EtherNEC network adapter for the
ROM port. The driver works by polling instead of interrupts, so it ROM port. The driver works by polling instead of interrupts, so it
is quite slow. is quite slow.
...@@ -120,7 +120,7 @@ config HPAPCI ...@@ -120,7 +120,7 @@ config HPAPCI
config SERIAL_CONSOLE config SERIAL_CONSOLE
bool "Support for serial port console" bool "Support for serial port console"
depends on AMIGA_BUILTIN_SERIAL=y depends on AMIGA_BUILTIN_SERIAL=y
---help--- help
If you say Y here, it will be possible to use a serial port as the If you say Y here, it will be possible to use a serial port as the
system console (the system console is the device which receives all system console (the system console is the device which receives all
kernel messages and warnings and which allows logins in single user kernel messages and warnings and which allows logins in single user
......
...@@ -437,7 +437,7 @@ config ROMSIZE ...@@ -437,7 +437,7 @@ config ROMSIZE
choice choice
prompt "Kernel executes from" prompt "Kernel executes from"
---help--- help
Choose the memory type that the kernel will be running in. Choose the memory type that the kernel will be running in.
config RAMKERNEL config RAMKERNEL
......
...@@ -135,10 +135,10 @@ vmlinux.gz: vmlinux ...@@ -135,10 +135,10 @@ vmlinux.gz: vmlinux
ifndef CONFIG_KGDB ifndef CONFIG_KGDB
cp vmlinux vmlinux.tmp cp vmlinux vmlinux.tmp
$(STRIP) vmlinux.tmp $(STRIP) vmlinux.tmp
$(_GZIP) -9c vmlinux.tmp >vmlinux.gz $(KGZIP) -9c vmlinux.tmp >vmlinux.gz
rm vmlinux.tmp rm vmlinux.tmp
else else
$(_GZIP) -9c vmlinux >vmlinux.gz $(KGZIP) -9c vmlinux >vmlinux.gz
endif endif
bzImage: vmlinux.bz2 bzImage: vmlinux.bz2
...@@ -148,10 +148,10 @@ vmlinux.bz2: vmlinux ...@@ -148,10 +148,10 @@ vmlinux.bz2: vmlinux
ifndef CONFIG_KGDB ifndef CONFIG_KGDB
cp vmlinux vmlinux.tmp cp vmlinux vmlinux.tmp
$(STRIP) vmlinux.tmp $(STRIP) vmlinux.tmp
$(_BZIP2) -1c vmlinux.tmp >vmlinux.bz2 $(KBZIP2) -1c vmlinux.tmp >vmlinux.bz2
rm vmlinux.tmp rm vmlinux.tmp
else else
$(_BZIP2) -1c vmlinux >vmlinux.bz2 $(KBZIP2) -1c vmlinux >vmlinux.bz2
endif endif
archclean: archclean:
......
...@@ -2742,7 +2742,7 @@ config RELOCATION_TABLE_SIZE ...@@ -2742,7 +2742,7 @@ config RELOCATION_TABLE_SIZE
depends on RELOCATABLE depends on RELOCATABLE
range 0x0 0x01000000 range 0x0 0x01000000
default "0x00100000" default "0x00100000"
---help--- help
A table of relocation data will be appended to the kernel binary A table of relocation data will be appended to the kernel binary
and parsed at boot to fix up the relocated kernel. and parsed at boot to fix up the relocated kernel.
...@@ -2756,7 +2756,7 @@ config RELOCATION_TABLE_SIZE ...@@ -2756,7 +2756,7 @@ config RELOCATION_TABLE_SIZE
config RANDOMIZE_BASE config RANDOMIZE_BASE
bool "Randomize the address of the kernel image" bool "Randomize the address of the kernel image"
depends on RELOCATABLE depends on RELOCATABLE
---help--- help
Randomizes the physical and virtual address at which the Randomizes the physical and virtual address at which the
kernel image is loaded, as a security feature that kernel image is loaded, as a security feature that
deters exploit attempts relying on knowledge of the location deters exploit attempts relying on knowledge of the location
...@@ -2774,7 +2774,7 @@ config RANDOMIZE_BASE_MAX_OFFSET ...@@ -2774,7 +2774,7 @@ config RANDOMIZE_BASE_MAX_OFFSET
range 0x0 0x40000000 if EVA || 64BIT range 0x0 0x40000000 if EVA || 64BIT
range 0x0 0x08000000 range 0x0 0x08000000
default "0x01000000" default "0x01000000"
---help--- help
When kASLR is active, this provides the maximum offset that will When kASLR is active, this provides the maximum offset that will
be applied to the kernel image. It should be set according to the be applied to the kernel image. It should be set according to the
amount of physical RAM available in the target system minus amount of physical RAM available in the target system minus
......
...@@ -6,7 +6,7 @@ source "virt/kvm/Kconfig" ...@@ -6,7 +6,7 @@ source "virt/kvm/Kconfig"
menuconfig VIRTUALIZATION menuconfig VIRTUALIZATION
bool "Virtualization" bool "Virtualization"
---help--- help
Say Y here to get to see options for using your Linux host to run Say Y here to get to see options for using your Linux host to run
other operating systems inside virtual machines (guests). other operating systems inside virtual machines (guests).
This option alone does not add any kernel code. This option alone does not add any kernel code.
...@@ -27,7 +27,7 @@ config KVM ...@@ -27,7 +27,7 @@ config KVM
select KVM_MMIO select KVM_MMIO
select MMU_NOTIFIER select MMU_NOTIFIER
select SRCU select SRCU
---help--- help
Support for hosting Guest kernels. Support for hosting Guest kernels.
choice choice
...@@ -37,7 +37,7 @@ choice ...@@ -37,7 +37,7 @@ choice
config KVM_MIPS_TE config KVM_MIPS_TE
bool "Trap & Emulate" bool "Trap & Emulate"
---help--- help
Use trap and emulate to virtualize 32-bit guests in user mode. This Use trap and emulate to virtualize 32-bit guests in user mode. This
does not require any special hardware Virtualization support beyond does not require any special hardware Virtualization support beyond
standard MIPS32/64 r2 or later, but it does require the guest kernel standard MIPS32/64 r2 or later, but it does require the guest kernel
...@@ -46,7 +46,7 @@ config KVM_MIPS_TE ...@@ -46,7 +46,7 @@ config KVM_MIPS_TE
config KVM_MIPS_VZ config KVM_MIPS_VZ
bool "MIPS Virtualization (VZ) ASE" bool "MIPS Virtualization (VZ) ASE"
---help--- help
Use the MIPS Virtualization (VZ) ASE to virtualize guests. This Use the MIPS Virtualization (VZ) ASE to virtualize guests. This
supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n), supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n),
but requires hardware support. but requires hardware support.
...@@ -57,7 +57,7 @@ config KVM_MIPS_DYN_TRANS ...@@ -57,7 +57,7 @@ config KVM_MIPS_DYN_TRANS
bool "KVM/MIPS: Dynamic binary translation to reduce traps" bool "KVM/MIPS: Dynamic binary translation to reduce traps"
depends on KVM_MIPS_TE depends on KVM_MIPS_TE
default y default y
---help--- help
When running in Trap & Emulate mode patch privileged When running in Trap & Emulate mode patch privileged
instructions to reduce the number of traps. instructions to reduce the number of traps.
...@@ -66,7 +66,7 @@ config KVM_MIPS_DYN_TRANS ...@@ -66,7 +66,7 @@ config KVM_MIPS_DYN_TRANS
config KVM_MIPS_DEBUG_COP0_COUNTERS config KVM_MIPS_DEBUG_COP0_COUNTERS
bool "Maintain counters for COP0 accesses" bool "Maintain counters for COP0 accesses"
depends on KVM depends on KVM
---help--- help
Maintain statistics for Guest COP0 accesses. Maintain statistics for Guest COP0 accesses.
A histogram of COP0 accesses is printed when the VM is A histogram of COP0 accesses is printed when the VM is
shutdown. shutdown.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment