Skip to content

Commit 6adc19f

Browse files
committed
Merge tag 'kbuild-v5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
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
2 parents 3df83e1 + a7f7f62 commit 6adc19f

File tree

439 files changed

+2473
-2489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

439 files changed

+2473
-2489
lines changed

Makefile

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -458,27 +458,13 @@ PYTHON = python
458458
PYTHON3 = python3
459459
CHECK = sparse
460460
BASH = bash
461-
GZIP = gzip
462-
BZIP2 = bzip2
463-
LZOP = lzop
461+
KGZIP = gzip
462+
KBZIP2 = bzip2
463+
KLZOP = lzop
464464
LZMA = lzma
465465
LZ4 = lz4c
466466
XZ = xz
467467

468-
# GZIP, BZIP2, LZOP env vars are used by the tools. Support them as the command
469-
# line interface, but use _GZIP, _BZIP2, _LZOP internally.
470-
_GZIP := $(GZIP)
471-
_BZIP2 := $(BZIP2)
472-
_LZOP := $(LZOP)
473-
474-
# Reset GZIP, BZIP2, LZOP in this Makefile
475-
override GZIP=
476-
override BZIP2=
477-
override LZOP=
478-
479-
# Reset GZIP, BZIP2, LZOP in recursive invocations
480-
MAKEOVERRIDES += GZIP= BZIP2= LZOP=
481-
482468
CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
483469
-Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF)
484470
NOSTDINC_FLAGS :=
@@ -526,7 +512,7 @@ CLANG_FLAGS :=
526512
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC
527513
export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF PAHOLE LEX YACC AWK INSTALLKERNEL
528514
export PERL PYTHON PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
529-
export _GZIP _BZIP2 _LZOP LZMA LZ4 XZ
515+
export KGZIP KBZIP2 KLZOP LZMA LZ4 XZ
530516
export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE
531517

532518
export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS KBUILD_LDFLAGS
@@ -1048,7 +1034,7 @@ export mod_strip_cmd
10481034
mod_compress_cmd = true
10491035
ifdef CONFIG_MODULE_COMPRESS
10501036
ifdef CONFIG_MODULE_COMPRESS_GZIP
1051-
mod_compress_cmd = $(_GZIP) -n -f
1037+
mod_compress_cmd = $(KGZIP) -n -f
10521038
endif # CONFIG_MODULE_COMPRESS_GZIP
10531039
ifdef CONFIG_MODULE_COMPRESS_XZ
10541040
mod_compress_cmd = $(XZ) -f

arch/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ config VMAP_STACK
876876
bool "Use a virtually-mapped stack"
877877
depends on HAVE_ARCH_VMAP_STACK
878878
depends on !KASAN || KASAN_VMALLOC
879-
---help---
879+
help
880880
Enable this if you want the use virtually-mapped kernel stacks
881881
with guard pages. This causes kernel stack overflows to be
882882
caught immediately rather than causing difficult-to-diagnose
@@ -948,7 +948,7 @@ config ARCH_USE_MEMREMAP_PROT
948948
config LOCK_EVENT_COUNTS
949949
bool "Locking event counts collection"
950950
depends on DEBUG_FS
951-
---help---
951+
help
952952
Enable light-weight counting of various locking related events
953953
in the system with minimal performance impact. This reduces
954954
the chance of application behavior change because of timing

arch/alpha/Kconfig

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ menu "System setup"
8383
choice
8484
prompt "Alpha system type"
8585
default ALPHA_GENERIC
86-
---help---
86+
help
8787
This is the system type of your hardware. A "generic" kernel will
8888
run on any supported Alpha system. However, if you configure a
8989
kernel for your specific system, it will be faster and smaller.
@@ -480,7 +480,7 @@ config VGA_HOSE
480480
config ALPHA_QEMU
481481
bool "Run under QEMU emulation"
482482
depends on !ALPHA_GENERIC
483-
---help---
483+
help
484484
Assume the presence of special features supported by QEMU PALcode
485485
that reduce the overhead of system emulation.
486486

@@ -495,7 +495,7 @@ config ALPHA_SRM
495495
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
496496
depends on TTY
497497
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
498-
---help---
498+
help
499499
There are two different types of booting firmware on Alphas: SRM,
500500
which is command line driven, and ARC, which uses menus and arrow
501501
keys. Details about the Linux/Alpha booting process are contained in
@@ -521,7 +521,7 @@ config ARCH_MAY_HAVE_PC_FDC
521521
config SMP
522522
bool "Symmetric multi-processing support"
523523
depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
524-
---help---
524+
help
525525
This enables support for systems with more than one CPU. If you have
526526
a system with only one CPU, say N. If you have a system with more
527527
than one CPU, say Y.
@@ -569,7 +569,7 @@ config ALPHA_WTINT
569569
default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
570570
default n if !ALPHA_SRM && !ALPHA_GENERIC
571571
default y if SMP
572-
---help---
572+
help
573573
The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
574574
to sleep until the next interrupt. This may reduce the power
575575
consumed, and the heat produced by the computer. However, it has
@@ -595,7 +595,7 @@ config NODES_SHIFT
595595
# LARGE_VMALLOC is racy, if you *really* need it then fix it first
596596
config ALPHA_LARGE_VMALLOC
597597
bool
598-
---help---
598+
help
599599
Process creation and other aspects of virtual memory management can
600600
be streamlined if we restrict the kernel to one PGD for all vmalloc
601601
allocations. This equates to about 8GB.
@@ -614,7 +614,7 @@ config VERBOSE_MCHECK_ON
614614
int "Verbose Printing Mode (0=off, 1=on, 2=all)"
615615
depends on VERBOSE_MCHECK
616616
default 1
617-
---help---
617+
help
618618
This option allows the default printing mode to be set, and then
619619
possibly overridden by a boot command argument.
620620

@@ -633,7 +633,7 @@ choice
633633
default HZ_128 if ALPHA_QEMU
634634
default HZ_1200 if ALPHA_RAWHIDE
635635
default HZ_1024
636-
---help---
636+
help
637637
The frequency at which timer interrupts occur. A high frequency
638638
minimizes latency, whereas a low frequency minimizes overhead of
639639
process accounting. The later effect is especially significant
@@ -668,7 +668,7 @@ config HZ
668668
config SRM_ENV
669669
tristate "SRM environment through procfs"
670670
depends on PROC_FS
671-
---help---
671+
help
672672
If you enable this option, a subdirectory inside /proc called
673673
/proc/srm_environment will give you access to the all important
674674
SRM environment variables (those which have a name) and also

arch/alpha/Kconfig.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config ALPHA_LEGACY_START_ADDRESS
99
bool "Legacy kernel start address"
1010
depends on ALPHA_GENERIC
1111
default n
12-
---help---
12+
help
1313
The 2.4 kernel changed the kernel start address from 0x310000
1414
to 0x810000 to make room for the Wildfire's larger SRM console.
1515
Recent consoles on Titan and Marvel machines also require the

arch/arc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ config NODES_SHIFT
348348
default "0" if !DISCONTIGMEM
349349
default "1" if DISCONTIGMEM
350350
depends on NEED_MULTIPLE_NODES
351-
---help---
351+
help
352352
Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory
353353
zones.
354354

arch/arm/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ config UACCESS_WITH_MEMCPY
16551655
config SECCOMP
16561656
bool
16571657
prompt "Enable seccomp to safely compute untrusted bytecode"
1658-
---help---
1658+
help
16591659
This kernel feature is useful for number crunching applications
16601660
that may need to compute untrusted bytecode during their
16611661
execution. By using pipes or other transports made available to
@@ -1963,7 +1963,7 @@ config EFI
19631963
select EFI_STUB
19641964
select EFI_GENERIC_STUB
19651965
select EFI_RUNTIME_WRAPPERS
1966-
---help---
1966+
help
19671967
This option provides support for runtime services provided
19681968
by UEFI firmware (such as non-volatile variables, realtime
19691969
clock, and platform reset). A UEFI stub is also provided to
@@ -2005,7 +2005,7 @@ comment "At least one emulation must be selected"
20052005
config FPE_NWFPE
20062006
bool "NWFPE math emulation"
20072007
depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
2008-
---help---
2008+
help
20092009
Say Y to include the NWFPE floating point emulator in the kernel.
20102010
This is necessary to run most binaries. Linux does not currently
20112011
support floating point hardware so you need to say Y here even if
@@ -2029,7 +2029,7 @@ config FPE_NWFPE_XP
20292029
config FPE_FASTFPE
20302030
bool "FastFPE math emulation (EXPERIMENTAL)"
20312031
depends on (!AEABI || OABI_COMPAT) && !CPU_32v3
2032-
---help---
2032+
help
20332033
Say Y here to include the FAST floating point emulator in the kernel.
20342034
This is an experimental much faster emulator which now also has full
20352035
precision for the mantissa. It does not support any exceptions.

arch/arm/Kconfig.debug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config ARM_PTDUMP_DEBUGFS
99
depends on MMU
1010
select ARM_PTDUMP_CORE
1111
select DEBUG_FS
12-
---help---
12+
help
1313
Say Y here if you want to show the kernel pagetable layout in a
1414
debugfs file. This information is only useful for kernel developers
1515
who are working in architecture specific areas of the kernel.
@@ -21,7 +21,7 @@ config DEBUG_WX
2121
bool "Warn on W+X mappings at boot"
2222
depends on MMU
2323
select ARM_PTDUMP_CORE
24-
---help---
24+
help
2525
Generate a warning if any W+X mappings are found at boot.
2626

2727
This is useful for discovering cases where the kernel is leaving

arch/arm/boot/deflate_xip_data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ trap 'rm -f "$XIPIMAGE.tmp"; exit 1' 1 2 3
5656
# substitute the data section by a compressed version
5757
$DD if="$XIPIMAGE" count=$data_start iflag=count_bytes of="$XIPIMAGE.tmp"
5858
$DD if="$XIPIMAGE" skip=$data_start iflag=skip_bytes |
59-
$_GZIP -9 >> "$XIPIMAGE.tmp"
59+
$KGZIP -9 >> "$XIPIMAGE.tmp"
6060

6161
# replace kernel binary
6262
mv -f "$XIPIMAGE.tmp" "$XIPIMAGE"

arch/arm/mach-footbridge/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ config ARCH_PERSONAL_SERVER
2222
select ISA
2323
select ISA_DMA
2424
select FORCE_PCI
25-
---help---
25+
help
2626
Say Y here if you intend to run this kernel on the Compaq
2727
Personal Server.
2828

arch/arm64/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ config CC_HAVE_SHADOW_CALL_STACK
10351035

10361036
config SECCOMP
10371037
bool "Enable seccomp to safely compute untrusted bytecode"
1038-
---help---
1038+
help
10391039
This kernel feature is useful for number crunching applications
10401040
that may need to compute untrusted bytecode during their
10411041
execution. By using pipes or other transports made available to
@@ -1068,7 +1068,7 @@ config KEXEC
10681068
depends on PM_SLEEP_SMP
10691069
select KEXEC_CORE
10701070
bool "kexec system call"
1071-
---help---
1071+
help
10721072
kexec is a system call that implements the ability to shutdown your
10731073
current kernel, and to start another kernel. It is like a reboot
10741074
but it is independent of the system firmware. And like a reboot

arch/arm64/kvm/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source "virt/lib/Kconfig"
77

88
menuconfig VIRTUALIZATION
99
bool "Virtualization"
10-
---help---
10+
help
1111
Say Y here to get to see options for using your Linux host to run
1212
other operating systems inside virtual machines (guests).
1313
This option alone does not add any kernel code.
@@ -40,7 +40,7 @@ menuconfig KVM
4040
select HAVE_KVM_VCPU_RUN_PID_CHANGE
4141
select TASKSTATS
4242
select TASK_DELAY_ACCT
43-
---help---
43+
help
4444
Support hosting virtualized guest machines.
4545

4646
If unsure, say N.
@@ -53,7 +53,7 @@ config KVM_ARM_PMU
5353
bool "Virtual Performance Monitoring Unit (PMU) support"
5454
depends on HW_PERF_EVENTS
5555
default y
56-
---help---
56+
help
5757
Adds support for a virtual Performance Monitoring Unit (PMU) in
5858
virtual machines.
5959

arch/hexagon/Kconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ config HEXAGON
3131
select GENERIC_CLOCKEVENTS_BROADCAST
3232
select MODULES_USE_ELF_RELA
3333
select GENERIC_CPU_DEVICES
34-
---help---
34+
help
3535
Qualcomm Hexagon is a processor architecture designed for high
3636
performance and low power across a wide variety of applications.
3737

3838
config HEXAGON_PHYS_OFFSET
3939
def_bool y
40-
---help---
40+
help
4141
Platforms that don't load the kernel at zero set this.
4242

4343
config FRAME_POINTER
@@ -83,7 +83,7 @@ choice
8383

8484
config HEXAGON_COMET
8585
bool "Comet Board"
86-
---help---
86+
help
8787
Support for the Comet platform.
8888

8989
endchoice
@@ -104,15 +104,15 @@ config CMDLINE
104104

105105
config SMP
106106
bool "Multi-Processing support"
107-
---help---
107+
help
108108
Enables SMP support in the kernel. If unsure, say "Y"
109109

110110
config NR_CPUS
111111
int "Maximum number of CPUs" if SMP
112112
range 2 6 if SMP
113113
default "1" if !SMP
114114
default "6" if SMP
115-
---help---
115+
help
116116
This allows you to specify the maximum number of CPUs which this
117117
kernel will support. The maximum supported value is 6 and the
118118
minimum value which makes sense is 2.
@@ -123,7 +123,7 @@ config NR_CPUS
123123
choice
124124
prompt "Kernel page size"
125125
default PAGE_SIZE_4KB
126-
---help---
126+
help
127127
Changes the default page size; use with caution.
128128

129129
config PAGE_SIZE_4KB

arch/ia64/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ config HOTPLUG_CPU
243243
bool "Support for hot-pluggable CPUs"
244244
depends on SMP
245245
default n
246-
---help---
246+
help
247247
Say Y here to experiment with turning CPUs off and on. CPUs
248248
can be controlled through /sys/devices/system/cpu/cpu#.
249249
Say N if you want to disable CPU hotplug.
@@ -266,15 +266,15 @@ config PERMIT_BSP_REMOVE
266266
bool "Support removal of Bootstrap Processor"
267267
depends on HOTPLUG_CPU
268268
default n
269-
---help---
269+
help
270270
Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
271271
support.
272272

273273
config FORCE_CPEI_RETARGET
274274
bool "Force assumption that CPEI can be re-targeted"
275275
depends on PERMIT_BSP_REMOVE
276276
default n
277-
---help---
277+
help
278278
Say Y if you need to force the assumption that CPEI can be re-targeted to
279279
any cpu in the system. This hint is available via ACPI 3.0 specifications.
280280
Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.

arch/ia64/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $(error Sorry, you need a newer version of the assember, one that is built from
4040
endif
4141

4242
quiet_cmd_gzip = GZIP $@
43-
cmd_gzip = cat $(real-prereqs) | $(_GZIP) -n -f -9 > $@
43+
cmd_gzip = cat $(real-prereqs) | $(KGZIP) -n -f -9 > $@
4444

4545
quiet_cmd_objcopy = OBJCOPY $@
4646
cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@

arch/m68k/Kconfig.cpu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ config M68KFPU_EMU_ONLY
343343
config ADVANCED
344344
bool "Advanced configuration options"
345345
depends on MMU
346-
---help---
346+
help
347347
This gives you access to some advanced options for the CPU. The
348348
defaults should be fine for most users, but these options may make
349349
it possible for you to improve performance somewhat if you know what
@@ -358,7 +358,7 @@ config ADVANCED
358358
config RMW_INSNS
359359
bool "Use read-modify-write instructions"
360360
depends on ADVANCED
361-
---help---
361+
help
362362
This allows to use certain instructions that work with indivisible
363363
read-modify-write bus cycles. While this is faster than the
364364
workaround of disabling interrupts, it can conflict with DMA
@@ -386,7 +386,7 @@ config ARCH_DISCONTIGMEM_ENABLE
386386
config 060_WRITETHROUGH
387387
bool "Use write-through caching for 68060 supervisor accesses"
388388
depends on ADVANCED && M68060
389-
---help---
389+
help
390390
The 68060 generally uses copyback caching of recently accessed data.
391391
Copyback caching means that memory writes will be held in an on-chip
392392
cache and only written back to memory some time later. Saying Y

0 commit comments

Comments
 (0)