kbuild: Show Kconfig fragments in "help"
Subsystems (11)
PATCH 1/1 kbuild: Show Kconfig fragments in "help"
Doing a "make help" would show only hard-coded Kconfig targets and depended on the archhelp target to include ".config" targets. There was nothing showing global kernel/configs/ targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.
Update all Kconfig fragments to include help text and adjust archhelp targets to avoid redundancy.
Adds the following section to "help" target output:
Configuration fragment targets (for enabling various Kconfig items):
debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest tiny.config - x86-specific options for a small kernel image xen.config - x86-specific options for a Xen virtualization guest
--- Makefile | 1 - arch/arm/configs/dram_0x00000000.config | 1 + arch/arm/configs/dram_0xc0000000.config | 1 + arch/arm/configs/dram_0xd0000000.config | 1 + arch/arm/configs/lpae.config | 1 + arch/arm64/configs/virt.config | 1 + arch/powerpc/configs/32-bit.config | 1 + arch/powerpc/configs/64-bit.config | 1 + arch/powerpc/configs/85xx-32bit.config | 1 + arch/powerpc/configs/85xx-64bit.config | 1 + arch/powerpc/configs/85xx-hw.config | 1 + arch/powerpc/configs/85xx-smp.config | 1 + arch/powerpc/configs/86xx-hw.config | 1 + arch/powerpc/configs/86xx-smp.config | 1 + arch/powerpc/configs/altivec.config | 1 + arch/powerpc/configs/be.config | 1 + arch/powerpc/configs/book3s_32.config | 1 + arch/powerpc/configs/corenet_base.config | 1 + arch/powerpc/configs/debug.config | 1 + arch/powerpc/configs/disable-werror.config | 1 + arch/powerpc/configs/dpaa.config | 1 + arch/powerpc/configs/fsl-emb-nonhw.config | 1 + arch/powerpc/configs/guest.config | 1 + arch/powerpc/configs/le.config | 1 + arch/powerpc/configs/mpc85xx_base.config | 1 + arch/powerpc/configs/mpc86xx_base.config | 1 + arch/powerpc/configs/ppc64le.config | 1 + arch/powerpc/configs/security.config | 4 +++- arch/riscv/configs/32-bit.config | 1 + arch/riscv/configs/64-bit.config | 1 + arch/s390/configs/btf.config | 1 + arch/s390/configs/kasan.config | 1 + arch/x86/Makefile | 4 ---- arch/x86/configs/tiny.config | 2 ++ arch/x86/configs/xen.config | 2 ++ kernel/configs/debug.config | 2 ++ kernel/configs/kvm_guest.config | 1 + kernel/configs/nopm.config | 2 ++ kernel/configs/rust.config | 1 + kernel/configs/tiny-base.config | 1 + kernel/configs/tiny.config | 2 ++ kernel/configs/x86_debug.config | 1 + kernel/configs/xen.config | 2 ++ scripts/kconfig/Makefile | 13 ++++++++++--- 44 files changed, 59 insertions(+), 9 deletions(-)
Makefile +0 -1
@@ -1674,7 +1674,6 @@ help: @echo ' mrproper - Remove all generated files + config + various backup files' @echo ' distclean - mrproper + remove editor backup and patch files' @echo '' - @echo 'Configuration targets:' @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help @echo '' @echo 'Other generic targets:'
arch/arm/configs/dram_0x00000000.config +1 -0
@@ -1 +1,2 @@ +# DRAM base at 0x00000000 CONFIG_DRAM_BASE=0x00000000
arch/arm/configs/dram_0xc0000000.config +1 -0
@@ -1 +1,2 @@ +# DRAM base at 0xc0000000 CONFIG_DRAM_BASE=0xc0000000
arch/arm/configs/dram_0xd0000000.config +1 -0
@@ -1 +1,2 @@ +# DRAM base at 0xd0000000 CONFIG_DRAM_BASE=0xd0000000
arch/arm/configs/lpae.config +1 -0
@@ -1,2 +1,3 @@ +# Enable Large Physical Address Extension mode CONFIG_ARM_LPAE=y CONFIG_VMSPLIT_2G=y
arch/arm64/configs/virt.config +1 -0
@@ -1,3 +1,4 @@ +# Virtualization guest # # Base options for platforms #
arch/powerpc/configs/32-bit.config +1 -0
@@ -1 +1,2 @@ +# Build a 32-bit image # CONFIG_PPC64 is not set
arch/powerpc/configs/64-bit.config +1 -0
@@ -1 +1,2 @@ +# Build a 64-bit image CONFIG_PPC64=y
arch/powerpc/configs/85xx-32bit.config +1 -0
@@ -1,3 +1,4 @@ +# Build a 32-bit 85xx image CONFIG_HIGHMEM=y CONFIG_KEXEC=y CONFIG_PPC_85xx=y
arch/powerpc/configs/85xx-64bit.config +1 -0
@@ -1,3 +1,4 @@ +# Build a 64-bit 85xx image CONFIG_MATH_EMULATION=y CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y CONFIG_PPC64=y
arch/powerpc/configs/85xx-hw.config +1 -0
@@ -1,3 +1,4 @@ +# Base hardware support for 86xx CONFIG_AQUANTIA_PHY=y CONFIG_AT803X_PHY=y CONFIG_ATA=y
arch/powerpc/configs/85xx-smp.config +1 -0
@@ -1,2 +1,3 @@ +# Enable SMP on 85xx CONFIG_NR_CPUS=24 CONFIG_SMP=y
arch/powerpc/configs/86xx-hw.config +1 -0
@@ -1,3 +1,4 @@ +# Base hardware support for 86xx CONFIG_ATA=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y
arch/powerpc/configs/86xx-smp.config +1 -0
@@ -1,2 +1,3 @@ +# Enable SMP on 86xx CONFIG_NR_CPUS=2 CONFIG_SMP=y
arch/powerpc/configs/altivec.config +1 -0
@@ -1 +1,2 @@ +# Enable Altivec support CONFIG_ALTIVEC=y
arch/powerpc/configs/be.config +1 -0
@@ -1 +1,2 @@ +# Enable Big Endian mode CONFIG_CPU_BIG_ENDIAN=y
arch/powerpc/configs/book3s_32.config +1 -0
@@ -1,2 +1,3 @@ +# Base support for Book3s CONFIG_PPC64=n CONFIG_PPC_BOOK3S_32=y
arch/powerpc/configs/corenet_base.config +1 -0
@@ -1,2 +1,3 @@ +# Base support for corenet CONFIG_CORENET_GENERIC=y CONFIG_PPC_QEMU_E500=y
arch/powerpc/configs/debug.config +1 -0
@@ -1 +1,2 @@ +# Enable PowerPC specific debug options CONFIG_SCOM_DEBUGFS=y
arch/powerpc/configs/disable-werror.config +1 -0
@@ -1 +1,2 @@ +# Disable -Werror CONFIG_PPC_DISABLE_WERROR=y
arch/powerpc/configs/dpaa.config +1 -0
@@ -1,3 +1,4 @@ +# Base suppot for DPPA CONFIG_FSL_DPAA=y CONFIG_FSL_PAMU=y CONFIG_FSL_FMAN=y
arch/powerpc/configs/fsl-emb-nonhw.config +1 -0
@@ -1,3 +1,4 @@ +# Non-hardware options common to 85xx and corenet CONFIG_ADFS_FS=m CONFIG_AFFS_FS=m CONFIG_AUDIT=y
arch/powerpc/configs/guest.config +1 -0
@@ -1,3 +1,4 @@ +# PowerPC specific virtualization guest options CONFIG_VIRTIO_BLK=y CONFIG_SCSI_VIRTIO=y CONFIG_VIRTIO_NET=y
arch/powerpc/configs/le.config +1 -0
@@ -1 +1,2 @@ +# Enable Little Endian mode CONFIG_CPU_LITTLE_ENDIAN=y
arch/powerpc/configs/mpc85xx_base.config +1 -0
@@ -1,3 +1,4 @@ +# Base mpc85xxx support CONFIG_MATH_EMULATION=y CONFIG_MPC8536_DS=y CONFIG_MPC85xx_DS=y
arch/powerpc/configs/mpc86xx_base.config +1 -0
@@ -1,3 +1,4 @@ +# Base mpc85xxx support CONFIG_PPC_86xx=y CONFIG_GEF_PPC9A=y CONFIG_GEF_SBC310=y
arch/powerpc/configs/ppc64le.config +1 -0
@@ -1,2 +1,3 @@ +# Enable ppc64le mode CONFIG_PPC64=y CONFIG_CPU_LITTLE_ENDIAN=y
arch/powerpc/configs/security.config +3 -1
@@ -1,3 +1,5 @@ +# Common security options for PowerPC builds + # This is the equivalent of booting with lockdown=integrity CONFIG_SECURITY=y CONFIG_SECURITYFS=y
@@ -12,4 +14,4 @@ CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # UBSAN bounds checking is very cheap and good for hardening CONFIG_UBSAN=y -# CONFIG_UBSAN_MISC is not set +# CONFIG_UBSAN_MISC is not set
arch/riscv/configs/32-bit.config +1 -0
@@ -1,3 +1,4 @@ +# Build a 32-bit image CONFIG_ARCH_RV32I=y CONFIG_32BIT=y # CONFIG_PORTABLE is not set
arch/riscv/configs/64-bit.config +1 -0
@@ -1,2 +1,3 @@ +# Build a 64-bit image CONFIG_ARCH_RV64I=y CONFIG_64BIT=y
arch/s390/configs/btf.config +1 -0
@@ -1 +1,2 @@ +# Enable BTF debug info CONFIG_DEBUG_INFO_BTF=y
arch/s390/configs/kasan.config +1 -0
@@ -1,3 +1,4 @@ +# Enable KASan for debugging CONFIG_KASAN=y CONFIG_KASAN_INLINE=y CONFIG_KASAN_VMALLOC=y
arch/x86/Makefile +0 -4
@@ -335,9 +335,5 @@ define archhelp echo ' bzdisk/fdimage*/hdimage/isoimage also accept:' echo ' FDARGS="..." arguments for the booted kernel' echo ' FDINITRD=file initrd for the booted kernel' - echo '' - echo ' kvm_guest.config - Enable Kconfig items for running this kernel as a KVM guest' - echo ' xen.config - Enable Kconfig items for running this kernel as a Xen guest' - echo ' x86_debug.config - Enable tip tree debugging options for testing' endef
arch/x86/configs/tiny.config +2 -0
@@ -1,3 +1,5 @@ +# x86-specific options for a small kernel image +# CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not set
arch/x86/configs/xen.config +2 -0
@@ -1,3 +1,5 @@ +# x86-specific options for a Xen virtualization guest +# # global x86 required specific stuff # On 32-bit HIGHMEM4G is not allowed CONFIG_HIGHMEM64G=y
kernel/configs/debug.config +2 -0
@@ -1,3 +1,5 @@ +# Debugging for CI systems and finding regressions +# # The config is based on running daily CI for enterprise Linux distros to # seek regressions on linux-next builds on different bare-metal and virtual # platforms. It can be used for example,
kernel/configs/kvm_guest.config +1 -0
@@ -1,3 +1,4 @@ +# Bootable as a KVM guest CONFIG_NET=y CONFIG_NET_CORE=y CONFIG_NETDEVICES=y
kernel/configs/nopm.config +2 -0
@@ -1,3 +1,5 @@ +# Disable Power Management + CONFIG_PM=n CONFIG_SUSPEND=n CONFIG_HIBERNATION=n
kernel/configs/rust.config +1 -0
@@ -1 +1,2 @@ +# Enable Rust CONFIG_RUST=y
kernel/configs/tiny-base.config +1 -0
@@ -1 +1,2 @@ +# Minimal options for tiny systems CONFIG_EMBEDDED=y
kernel/configs/tiny.config +2 -0
@@ -1,3 +1,5 @@ +# Smallest possible kernel image +# # CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_KERNEL_GZIP is not set
kernel/configs/x86_debug.config +1 -0
@@ -1,3 +1,4 @@ +# Debugging options for tip tree testing CONFIG_X86_DEBUG_FPU=y CONFIG_LOCK_STAT=y CONFIG_DEBUG_VM=y
kernel/configs/xen.config +2 -0
@@ -1,3 +1,5 @@ +# Bootable as a Xen guest +# # global stuff - these enable us to allow some # of the not so generic stuff below for xen CONFIG_PARAVIRT=y
scripts/kconfig/Makefile +10 -3
@@ -93,11 +93,11 @@ endif %_defconfig: $(obj)/conf $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig) -configfiles=$(wildcard $(srctree)/kernel/configs/$@ $(srctree)/arch/$(SRCARCH)/configs/$@) +configfiles=$(wildcard $(srctree)/kernel/configs/$(1) $(srctree)/arch/$(SRCARCH)/configs/$(1)) %.config: $(obj)/conf - $(if $(call configfiles),, $(error No configuration exists for this target on this architecture)) - $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles) + $(if $(call configfiles,$@),, $(error No configuration exists for this target on this architecture)) + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(call configfiles,$@) $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig PHONY += tinyconfig
@@ -115,6 +115,7 @@ clean-files += tests/.cache # Help text used by make help help: + @echo 'Configuration targets:' @echo ' config - Update current config utilising a line-oriented program' @echo ' nconfig - Update current config utilising a ncurses menu based program' @echo ' menuconfig - Update current config utilising a menu based program'
@@ -141,6 +142,12 @@ help: @echo ' default value without prompting' @echo ' tinyconfig - Configure the tiniest possible kernel' @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)' + @echo '' + @echo 'Configuration fragment targets (for enabling various Kconfig items):' + @$(foreach c, $(call configfiles,*.config), \ + printf " %-20s - %s\\n" \ + $(shell basename $(c)) \ + "$(subst # ,,$(shell grep -m1 '^# ' $(c)))";) # =========================================================================== # object files used by all kconfig flavours
Signature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Hi Kees,
Quoted 12 lines · Kees Cook
Doing a "make help" would show only hard-coded
Kconfigtargets and depended on the archhelp target to include ".config" targets. There was nothing showing globalkernel/configs/targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.Update all
Kconfigfragments to include help text and adjust archhelp targets to avoid redundancy.Adds the following section to "help" target output:
Configuration fragment targets (for enabling various
Kconfigitems):
Quoted 10 lines
debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest tiny.config - x86-specific options for a small kernel image xen.config - x86-specific options for a Xen virtualization guest
ISTM that you are missing the "why" part of this change in the commit description.
"make tinyconfig" is the real target here. The other (tiny.) files are just implementation details.
We can't put all implementation details into help messages and it's not difficult to find that the (tiny.) config files are merged to make the final .config file.
So what is it that you are trying to solve?
Signature · 6 lines
~Randy _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Le 25/08/2023 à 00:36, Kees Cook a écrit :
Quoted 37 lines
Doing a "make help" would show only hard-coded
Kconfigtargets and depended on the archhelp target to include ".config" targets. There was nothing showing globalkernel/configs/targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.Update all
Kconfigfragments to include help text and adjust archhelp targets to avoid redundancy.Adds the following section to "help" target output:
Configuration fragment targets (for enabling various
Kconfigitems):debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest tiny.config - x86-specific options for a small kernel image xen.config - x86-specific options for a Xen virtualization guestCc Masahiro Yamada <[email protected]>Signed-off-by Kees Cook <[email protected]>---
arch/powerpc/configs/85xx-hw.config +0
-0
arch/powerpc/configs/85xx-hw.config line 1
Quoted 1 line
arch/powerpc/configs/85xx-hw.config +1
-0@@ -1,3 +1,4 @@ +# Base hardware support for 86xx
s/86xx/85xx
arch/powerpc/configs/book3s_32.config line 1
Quoted 10 lines
arch/powerpc/configs/85xx-hw.config +0
-0CONFIG_AQUANTIA_PHY=y CONFIG_AT803X_PHY=y CONFIG_ATA=yarch/powerpc/configs/book3s_32.config +1
-0@@ -1,2 +1,3 @@ +# Base support for Book3s
32 bits Book3s
arch/powerpc/configs/dpaa.config line 1
Quoted 9 lines
arch/powerpc/configs/book3s_32.config +0
-0CONFIG_PPC64=n CONFIG_PPC_BOOK3S_32=yarch/powerpc/configs/dpaa.config +1
-0@@ -1,3 +1,4 @@ +# Base suppot for DPPA
s/suppot/support/
arch/powerpc/configs/mpc85xx_base.config line 1
Quoted 10 lines
arch/powerpc/configs/dpaa.config +0
-0CONFIG_FSL_DPAA=y CONFIG_FSL_PAMU=y CONFIG_FSL_FMAN=yarch/powerpc/configs/mpc85xx_base.config +1
-0@@ -1,3 +1,4 @@ +# Base mpc85xxx support
s/mpc85xxx/mpc85xx/
arch/powerpc/configs/mpc86xx_base.config line 1
Quoted 9 lines
arch/powerpc/configs/mpc85xx_base.config +0
-0CONFIG_MATH_EMULATION=y CONFIG_MPC8536_DS=y CONFIG_MPC85xx_DS=yarch/powerpc/configs/mpc86xx_base.config +1
-0@@ -1,3 +1,4 @@ +# Base mpc85xxx support
s/mpc85xxx/mpc86xx/
arch/powerpc/configs/mpc86xx_base.config line 4
Quoted 3 lines
arch/powerpc/configs/mpc86xx_base.config +0
-0CONFIG_PPC_86xx=y CONFIG_GEF_PPC9A=y CONFIG_GEF_SBC310=y
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 23 lines · Kees Cook
Doing a "make help" would show only hard-coded
Kconfigtargets and depended on the archhelp target to include ".config" targets. There was nothing showing globalkernel/configs/targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.Update all
Kconfigfragments to include help text and adjust archhelp targets to avoid redundancy.Adds the following section to "help" target output:
Configuration fragment targets (for enabling various
Kconfigitems):debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest tiny.config - x86-specific options for a small kernel image xen.config - x86-specific options for a Xen virtualization guest
Quoted 8 lines
Cc Masahiro Yamada <[email protected]>Signed-off-by Kees Cook <[email protected]>---
Thanks for that patch! Several times I found myself searching the tree to find a specific kconfig fragment; I think you found a nice solution. Two minor things below.
Quoted 391 lines
Makefile | 1 - arch/arm/configs/dram_0x00000000.config | 1 + arch/arm/configs/dram_0xc0000000.config | 1 + arch/arm/configs/dram_0xd0000000.config | 1 + arch/arm/configs/lpae.config | 1 + arch/arm64/configs/virt.config | 1 + arch/powerpc/configs/32-bit.config | 1 + arch/powerpc/configs/64-bit.config | 1 + arch/powerpc/configs/85xx-32bit.config | 1 + arch/powerpc/configs/85xx-64bit.config | 1 + arch/powerpc/configs/85xx-hw.config | 1 + arch/powerpc/configs/85xx-smp.config | 1 + arch/powerpc/configs/86xx-hw.config | 1 + arch/powerpc/configs/86xx-smp.config | 1 + arch/powerpc/configs/altivec.config | 1 + arch/powerpc/configs/be.config | 1 + arch/powerpc/configs/book3s_32.config | 1 + arch/powerpc/configs/corenet_base.config | 1 + arch/powerpc/configs/debug.config | 1 + arch/powerpc/configs/disable-werror.config | 1 + arch/powerpc/configs/dpaa.config | 1 + arch/powerpc/configs/fsl-emb-nonhw.config | 1 + arch/powerpc/configs/guest.config | 1 + arch/powerpc/configs/le.config | 1 + arch/powerpc/configs/mpc85xx_base.config | 1 + arch/powerpc/configs/mpc86xx_base.config | 1 + arch/powerpc/configs/ppc64le.config | 1 + arch/powerpc/configs/security.config | 4 +++- arch/riscv/configs/32-bit.config | 1 + arch/riscv/configs/64-bit.config | 1 + arch/s390/configs/btf.config | 1 + arch/s390/configs/kasan.config | 1 + arch/x86/Makefile | 4 ---- arch/x86/configs/tiny.config | 2 ++ arch/x86/configs/xen.config | 2 ++ kernel/configs/debug.config | 2 ++ kernel/configs/kvm_guest.config | 1 + kernel/configs/nopm.config | 2 ++ kernel/configs/rust.config | 1 + kernel/configs/tiny-base.config | 1 + kernel/configs/tiny.config | 2 ++ kernel/configs/x86_debug.config | 1 + kernel/configs/xen.config | 2 ++ scripts/kconfig/Makefile | 13 ++++++++++--- 44 files changed, 59 insertions(+), 9 deletions(-)Makefile +0
-1@@ -1674,7 +1674,6 @@ help: @echo ' mrproper - Remove all generated files + config + various backup files' @echo ' distclean - mrproper + remove editor backup and patch files' @echo '' - @echo 'Configuration targets:' @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help @echo '' @echo 'Other generic targets:'arch/arm/configs/dram_0x00000000.config +1
-0@@ -1 +1,2 @@ +# DRAM base at 0x00000000 CONFIG_DRAM_BASE=0x00000000arch/arm/configs/dram_0xc0000000.config +1
-0@@ -1 +1,2 @@ +# DRAM base at 0xc0000000 CONFIG_DRAM_BASE=0xc0000000arch/arm/configs/dram_0xd0000000.config +1
-0@@ -1 +1,2 @@ +# DRAM base at 0xd0000000 CONFIG_DRAM_BASE=0xd0000000arch/arm/configs/lpae.config +1
-0@@ -1,2 +1,3 @@ +# Enable Large Physical Address Extension mode CONFIG_ARM_LPAE=y CONFIG_VMSPLIT_2G=yarch/arm64/configs/virt.config +1
-0@@ -1,3 +1,4 @@ +# Virtualization guest # # Base options for platforms #arch/powerpc/configs/32-bit.config +1
-0@@ -1 +1,2 @@ +# Build a 32-bit image # CONFIG_PPC64 is not setarch/powerpc/configs/64-bit.config +1
-0@@ -1 +1,2 @@ +# Build a 64-bit image CONFIG_PPC64=yarch/powerpc/configs/85xx-32bit.config +1
-0@@ -1,3 +1,4 @@ +# Build a 32-bit 85xx image CONFIG_HIGHMEM=y CONFIG_KEXEC=y CONFIG_PPC_85xx=yarch/powerpc/configs/85xx-64bit.config +1
-0@@ -1,3 +1,4 @@ +# Build a 64-bit 85xx image CONFIG_MATH_EMULATION=y CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y CONFIG_PPC64=yarch/powerpc/configs/85xx-hw.config +1
-0@@ -1,3 +1,4 @@ +# Base hardware support for 86xx CONFIG_AQUANTIA_PHY=y CONFIG_AT803X_PHY=y CONFIG_ATA=yarch/powerpc/configs/85xx-smp.config +1
-0@@ -1,2 +1,3 @@ +# Enable SMP on 85xx CONFIG_NR_CPUS=24 CONFIG_SMP=yarch/powerpc/configs/86xx-hw.config +1
-0@@ -1,3 +1,4 @@ +# Base hardware support for 86xx CONFIG_ATA=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=yarch/powerpc/configs/86xx-smp.config +1
-0@@ -1,2 +1,3 @@ +# Enable SMP on 86xx CONFIG_NR_CPUS=2 CONFIG_SMP=yarch/powerpc/configs/altivec.config +1
-0@@ -1 +1,2 @@ +# Enable Altivec support CONFIG_ALTIVEC=yarch/powerpc/configs/be.config +1
-0@@ -1 +1,2 @@ +# Enable Big Endian mode CONFIG_CPU_BIG_ENDIAN=yarch/powerpc/configs/book3s_32.config +1
-0@@ -1,2 +1,3 @@ +# Base support for Book3s CONFIG_PPC64=n CONFIG_PPC_BOOK3S_32=yarch/powerpc/configs/corenet_base.config +1
-0@@ -1,2 +1,3 @@ +# Base support for corenet CONFIG_CORENET_GENERIC=y CONFIG_PPC_QEMU_E500=yarch/powerpc/configs/debug.config +1
-0@@ -1 +1,2 @@ +# Enable PowerPC specific debug options CONFIG_SCOM_DEBUGFS=yarch/powerpc/configs/disable-werror.config +1
-0@@ -1 +1,2 @@ +# Disable -Werror CONFIG_PPC_DISABLE_WERROR=yarch/powerpc/configs/dpaa.config +1
-0@@ -1,3 +1,4 @@ +# Base suppot for DPPA CONFIG_FSL_DPAA=y CONFIG_FSL_PAMU=y CONFIG_FSL_FMAN=yarch/powerpc/configs/fsl-emb-nonhw.config +1
-0@@ -1,3 +1,4 @@ +# Non-hardware options common to 85xx and corenet CONFIG_ADFS_FS=m CONFIG_AFFS_FS=m CONFIG_AUDIT=yarch/powerpc/configs/guest.config +1
-0@@ -1,3 +1,4 @@ +# PowerPC specific virtualization guest options CONFIG_VIRTIO_BLK=y CONFIG_SCSI_VIRTIO=y CONFIG_VIRTIO_NET=yarch/powerpc/configs/le.config +1
-0@@ -1 +1,2 @@ +# Enable Little Endian mode CONFIG_CPU_LITTLE_ENDIAN=yarch/powerpc/configs/mpc85xx_base.config +1
-0@@ -1,3 +1,4 @@ +# Base mpc85xxx support CONFIG_MATH_EMULATION=y CONFIG_MPC8536_DS=y CONFIG_MPC85xx_DS=yarch/powerpc/configs/mpc86xx_base.config +1
-0@@ -1,3 +1,4 @@ +# Base mpc85xxx support CONFIG_PPC_86xx=y CONFIG_GEF_PPC9A=y CONFIG_GEF_SBC310=yarch/powerpc/configs/ppc64le.config +1
-0@@ -1,2 +1,3 @@ +# Enable ppc64le mode CONFIG_PPC64=y CONFIG_CPU_LITTLE_ENDIAN=yarch/powerpc/configs/security.config +3
-1@@ -1,3 +1,5 @@ +# Common security options for PowerPC builds + # This is the equivalent of booting with lockdown=integrity CONFIG_SECURITY=y CONFIG_SECURITYFS=y@@ -12,4 +14,4 @@ CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # UBSAN bounds checking is very cheap and good for hardening CONFIG_UBSAN=y -# CONFIG_UBSAN_MISC is not set +# CONFIG_UBSAN_MISC is not setarch/riscv/configs/32-bit.config +1
-0@@ -1,3 +1,4 @@ +# Build a 32-bit image CONFIG_ARCH_RV32I=y CONFIG_32BIT=y # CONFIG_PORTABLE is not setarch/riscv/configs/64-bit.config +1
-0@@ -1,2 +1,3 @@ +# Build a 64-bit image CONFIG_ARCH_RV64I=y CONFIG_64BIT=yarch/s390/configs/btf.config +1
-0@@ -1 +1,2 @@ +# Enable BTF debug info CONFIG_DEBUG_INFO_BTF=yarch/s390/configs/kasan.config +1
-0@@ -1,3 +1,4 @@ +# Enable KASan for debugging CONFIG_KASAN=y CONFIG_KASAN_INLINE=y CONFIG_KASAN_VMALLOC=yarch/x86/Makefile +0
-4@@ -335,9 +335,5 @@ define archhelp echo ' bzdisk/fdimage*/hdimage/isoimage also accept:' echo ' FDARGS="..." arguments for the booted kernel' echo ' FDINITRD=file initrd for the booted kernel' - echo '' - echo ' kvm_guest.config - Enable Kconfig items for running this kernel as a KVM guest' - echo ' xen.config - Enable Kconfig items for running this kernel as a Xen guest' - echo ' x86_debug.config - Enable tip tree debugging options for testing' endefarch/x86/configs/tiny.config +2
-0@@ -1,3 +1,5 @@ +# x86-specific options for a small kernel image +# CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not setarch/x86/configs/xen.config +2
-0@@ -1,3 +1,5 @@ +# x86-specific options for a Xen virtualization guest +# # global x86 required specific stuff # On 32-bit HIGHMEM4G is not allowed CONFIG_HIGHMEM64G=ykernel/configs/debug.config +2
-0@@ -1,3 +1,5 @@ +# Debugging for CI systems and finding regressions +# # The config is based on running daily CI for enterprise Linux distros to # seek regressions on linux-next builds on different bare-metal and virtual # platforms. It can be used for example,kernel/configs/kvm_guest.config +1
-0@@ -1,3 +1,4 @@ +# Bootable as a KVM guest CONFIG_NET=y CONFIG_NET_CORE=y CONFIG_NETDEVICES=ykernel/configs/nopm.config +2
-0@@ -1,3 +1,5 @@ +# Disable Power Management + CONFIG_PM=n CONFIG_SUSPEND=n CONFIG_HIBERNATION=nkernel/configs/rust.config +1
-0@@ -1 +1,2 @@ +# Enable Rust CONFIG_RUST=ykernel/configs/tiny-base.config +0
-0
kernel/configs/tiny-base.config line 2
Quoted 2 lines
kernel/configs/tiny-base.config +1
-0@@ -1 +1,2 @@ +# Minimal options for tiny systems CONFIG_EMBEDDED=y
(just a note: Randy prepared a patch for removing CONFIG_EMBEDDED:
https://lore.kernel.org/linux-kbuild/[email protected]/)
kernel/configs/tiny.config line 1
Quoted 6 lines
kernel/configs/tiny.config +1
-0@@ -1,3 +1,5 @@ +# Smallest possible kernel image
For this fragment alone (not within 'tinyconfig'), "Size-optimize kernel image" possibly fits better?
Quoted 51 lines
kernel/configs/tiny.config +1
-0+# # CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_KERNEL_GZIP is not setkernel/configs/x86_debug.config +1
-0@@ -1,3 +1,4 @@ +# Debugging options for tip tree testing CONFIG_X86_DEBUG_FPU=y CONFIG_LOCK_STAT=y CONFIG_DEBUG_VM=ykernel/configs/xen.config +2
-0@@ -1,3 +1,5 @@ +# Bootable as a Xen guest +# # global stuff - these enable us to allow some # of the not so generic stuff below for xen CONFIG_PARAVIRT=yscripts/kconfig/Makefile +4
-3@@ -93,11 +93,11 @@ endif %_defconfig: $(obj)/conf $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig) -configfiles=$(wildcard $(srctree)/kernel/configs/$@ $(srctree)/arch/$(SRCARCH)/configs/$@) +configfiles=$(wildcard $(srctree)/kernel/configs/$(1) $(srctree)/arch/$(SRCARCH)/configs/$(1)) %.config: $(obj)/conf - $(if $(call configfiles),, $(error No configuration exists for this target on this architecture)) - $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles) + $(if $(call configfiles,$@),, $(error No configuration exists for this target on this architecture)) + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(call configfiles,$@) $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig PHONY += tinyconfig@@ -115,6 +115,7 @@ clean-files += tests/.cache # Help text used by make help help: + @echo 'Configuration targets:' @echo ' config - Update current config utilising a line-oriented program' @echo ' nconfig - Update current config utilising a ncurses menu based program' @echo ' menuconfig - Update current config utilising a menu based program'
scripts/kconfig/Makefile help: · line 150
Quoted 9 lines
scripts/kconfig/Makefile +6
-0@@ -141,6 +142,12 @@ help: @echo ' default value without prompting' @echo ' tinyconfig - Configure the tiniest possible kernel' @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)' + @echo '' + @echo 'Configuration fragment targets (for enabling various Kconfig items):' + @$(foreach c, $(call configfiles,*.config), \ + printf " %-20s - %s\\n" \ + $(shell basename $(c)) \ + "$(subst # ,,$(shell grep -m1 '^# ' $(c)))";)
Better use '$(notdir $(c))` instead of forking a shell with '$(shell basename $(c))'.
Kind regards,
Nicolas
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Michael Ellerman
reviewerQuoted 12 lines · Kees Cook
Doing a "make help" would show only hard-coded
Kconfigtargets and depended on the archhelp target to include ".config" targets. There was nothing showing globalkernel/configs/targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.Update all
Kconfigfragments to include help text and adjust archhelp targets to avoid redundancy.Adds the following section to "help" target output:
Configuration fragment targets (for enabling various
Kconfigitems):
Quoted 10 lines
debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest tiny.config - x86-specific options for a small kernel image xen.config - x86-specific options for a Xen virtualization guest
I think we need a way to opt some files out.
It's a bit ugly on powerpc because there are so many fragments:
Configuration fragment targets (for enabling various Kconfig items):
debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest 32-bit.config - Build a 32-bit image 64-bit.config - Build a 64-bit image 85xx-32bit.config - Build a 32-bit 85xx image 85xx-64bit.config - Build a 64-bit 85xx image 85xx-hw.config - Base hardware support for 86xx 85xx-smp.config - Enable SMP on 85xx 86xx-hw.config - Base hardware support for 86xx 86xx-smp.config - Enable SMP on 86xx altivec.config - Enable Altivec support be.config - Enable Big Endian mode book3s_32.config - Base support for Book3s corenet_base.config - Base support for corenet debug.config - Enable PowerPC specific debug options disable-werror.config - Disable -Werror dpaa.config - Base suppot for DPPA fsl-emb-nonhw.config - Non-hardware options common to 85xx and corenet guest.config - PowerPC specific virtualization guest options kvm_guest.config - Bootable as a KVM guest le.config - Enable Little Endian mode mpc85xx_base.config - Base mpc85xxx support mpc86xx_base.config - Base mpc85xxx support ppc64le.config - Enable ppc64le mode security.config - Common security options for PowerPC builds
And some of those are not intended for use with "make foo.config", they're used internally for generating our "normal" defconfigs and they don't necessarily work on their own.
Also I'd like to add more fragments in future, to the point where nearly all our configs are generated by them.
Can we have some way to differentiate fragments that are intended to be used with "make foo.config" vs just being used internally to generate other configs.
The obvious thing would be to use a different suffix, eg. "foo.fragment" for internal use fragments. That would require changing merge_into_defconfig and merge_into_defconfig_override to not assume the .config suffix, and update the users in arm, arm64 and powerpc.
The other option would be to ignore .config files starting with eg. "_".
+ @$(foreach c, $(filter-out $(call configfiles,_*.config),$(call configfiles,*.config)), \
+ printf " %-20s - %s\\n" \
+ $(shell basename $(c)) \
+ "$(subst # ,,$(shell grep -m1 '^# ' $(c)))";)
Not sure which is preferable.
cheers
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 26 lines · Randy Dunlap
Hi Kees,
Quoted 12 lines · Kees Cook
Doing a "make help" would show only hard-coded
Kconfigtargets and depended on the archhelp target to include ".config" targets. There was nothing showing globalkernel/configs/targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.Update all
Kconfigfragments to include help text and adjust archhelp targets to avoid redundancy.Adds the following section to "help" target output:
Configuration fragment targets (for enabling various
Kconfigitems):Quoted 10 lines
debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest tiny.config - x86-specific options for a small kernel image xen.config - x86-specific options for a Xen virtualization guest
Quoted 2 lines
ISTM that you are missing the "why" part of this change in the commit description.
I want to see what fragments are available without needing to know the source tree layout for their locations. :)
Quoted 5 lines
"make tinyconfig" is the real target here. The other (tiny.) files are just implementation details.
We can't put all implementation details into help messages and it's not difficult to find that the (tiny.) config files are merged to make the final .config file.
Yeah, this seems true for much of the ppc stuff to, as pointed out by mpe. I'll go answer there...
Signature · 6 lines
Kees Cook _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 5 lines · Christophe Leroy
Le 25/08/2023 à 00:36, Kees Cook a écrit :
Quoted 1 line
+# Base hardware support for 86xx
s/86xx/85xx
[...]
Thanks for the typo fixes! I'll get these all fixed up. :)
Signature · 6 lines
Kees Cook _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 13 lines · Nicolas Schier
Quoted 6 lines · Kees Cook
Doing a "make help" would show only hard-coded
Kconfigtargets and depended on the archhelp target to include ".config" targets. There was nothing showing globalkernel/configs/targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.
[...]Thanks for that patch! Several times I found myself searching the tree to find a specific kconfig fragment; I think you found a nice solution. Two minor things below.
[...]
Quoted 10 lines
kernel/configs/tiny-base.config line 2
Quoted 7 lines
kernel/configs/tiny-base.config +1
-0@@ -1 +1,2 @@ +# Minimal options for tiny systems CONFIG_EMBEDDED=y(just a note: Randy prepared a patch for removing
CONFIG_EMBEDDED:
https://lore.kernel.org/linux-kbuild/[email protected]/)
Ah yeah, I'll rebase this after the merge window, I guess...
Quoted 9 lines
kernel/configs/tiny.config line 1
Quoted 6 lines
kernel/configs/tiny.config +1
-0@@ -1,3 +1,5 @@ +# Smallest possible kernel imageFor this fragment alone (not within 'tinyconfig'), "Size-optimize kernel image" possibly fits better?
Sounds good to me!
Quoted 32 lines
Quoted 32 lines
scripts/kconfig/Makefile +5
-3@@ -93,11 +93,11 @@ endif %_defconfig: $(obj)/conf $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig) -configfiles=$(wildcard $(srctree)/kernel/configs/$@ $(srctree)/arch/$(SRCARCH)/configs/$@) +configfiles=$(wildcard $(srctree)/kernel/configs/$(1) $(srctree)/arch/$(SRCARCH)/configs/$(1)) %.config: $(obj)/conf - $(if $(call configfiles),, $(error No configuration exists for this target on this architecture)) - $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles) + $(if $(call configfiles,$@),, $(error No configuration exists for this target on this architecture)) + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(call configfiles,$@) $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig PHONY += tinyconfig@@ -115,6 +115,7 @@ clean-files += tests/.cache # Help text used by make help help: + @echo 'Configuration targets:' @echo ' config - Update current config utilising a line-oriented program' @echo ' nconfig - Update current config utilising a ncurses menu based program' @echo ' menuconfig - Update current config utilising a menu based program'@@ -141,6 +142,12 @@ help: @echo ' default value without prompting' @echo ' tinyconfig - Configure the tiniest possible kernel' @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)' + @echo ''
Quoted 8 lines
scripts/kconfig/Makefile help: · line 150
Quoted 5 lines
scripts/kconfig/Makefile +5
-0+ @echo 'Configuration fragment targets (for enabling various Kconfig items):' + @$(foreach c, $(call configfiles,*.config), \ + printf " %-20s - %s\\n" \ + $(shell basename $(c)) \ + "$(subst # ,,$(shell grep -m1 '^# ' $(c)))";)Better use '$(notdir $(c))` instead of forking a shell with '$(shell basename $(c))'.
Ah! Thank you. I *knew* there was a function for this but couldn't find it for some reason. :)
Signature · 6 lines
Kees Cook _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 84 lines · Michael Ellerman
Quoted 12 lines · Kees Cook
Doing a "make help" would show only hard-coded
Kconfigtargets and depended on the archhelp target to include ".config" targets. There was nothing showing globalkernel/configs/targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.Update all
Kconfigfragments to include help text and adjust archhelp targets to avoid redundancy.Adds the following section to "help" target output:
Configuration fragment targets (for enabling various
Kconfigitems):Quoted 10 lines
debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest tiny.config - x86-specific options for a small kernel image xen.config - x86-specific options for a Xen virtualization guestI think we need a way to opt some files out.
It's a bit ugly on powerpc because there are so many fragments:
Configuration fragment targets (for enabling various
Kconfigitems):debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest 32-bit.config - Build a 32-bit image 64-bit.config - Build a 64-bit image 85xx-32bit.config - Build a 32-bit 85xx image 85xx-64bit.config - Build a 64-bit 85xx image 85xx-hw.config - Base hardware support for 86xx 85xx-smp.config - Enable SMP on 85xx 86xx-hw.config - Base hardware support for 86xx 86xx-smp.config - Enable SMP on 86xx altivec.config - Enable Altivec support be.config - Enable Big Endian mode book3s_32.config - Base support for Book3s corenet_base.config - Base support for corenet debug.config - Enable PowerPC specific debug options disable-werror.config - Disable -Werror dpaa.config - Base suppot for DPPA fsl-emb-nonhw.config - Non-hardware options common to 85xx and corenet guest.config - PowerPC specific virtualization guest options kvm_guest.config - Bootable as a KVM guest le.config - Enable Little Endian mode mpc85xx_base.config - Base mpc85xxx support mpc86xx_base.config - Base mpc85xxx support ppc64le.config - Enable ppc64le mode security.config - Common security options for PowerPC buildsAnd some of those are not intended for use with "make foo.config", they're used internally for generating our "normal" defconfigs and they don't necessarily work on their own.
Also I'd like to add more fragments in future, to the point where nearly all our configs are generated by them.
Can we have some way to differentiate fragments that are intended to be used with "make foo.config" vs just being used internally to generate other configs.
The obvious thing would be to use a different suffix, eg. "foo.fragment" for internal use fragments. That would require changing
merge_into_defconfigandmerge_into_defconfig_overrideto not assume the .config suffix, and update the users in arm, arm64 and powerpc.The other option would be to ignore .config files starting with eg. "_".
scripts/kconfig/Makefile +4
-0+ @$(foreach c, $(filter-out $(call configfiles,_*.config),$(call configfiles,*.config)), \ + printf " %-20s - %s\\n" \ + $(shell basename $(c)) \ + "$(subst # ,,$(shell grep -m1 '^# ' $(c)))";)
Quoted 1 line
Not sure which is preferable.
Yeah, I wasn't too happy about some of these results. There seems to be three cases a fragment:
- user-visible make target
- used internally
- arch-specific settings for a user-visible make target (redundant)
Only the first should be visible. The trouble is that some user-visible targets are arch-specific.
I think I like your idea of having both .config and .fragment... I'll give that a try and see how it looks.
Signature · 6 lines
Kees Cook _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 27 lines · Kees Cook
Quoted 26 lines · Randy Dunlap
Hi Kees,
Quoted 22 lines · Kees Cook
Doing a "make help" would show only hard-coded
Kconfigtargets and depended on the archhelp target to include ".config" targets. There was nothing showing globalkernel/configs/targets. Solve this by walking the wildcard list and include them in the output, using the first comment line as the help text.Update all
Kconfigfragments to include help text and adjust archhelp targets to avoid redundancy.Adds the following section to "help" target output:
Configuration fragment targets (for enabling various
Kconfigitems):debug.config - Debugging for CI systems and finding regressions kvm_guest.config - Bootable as a KVM guest nopm.config - Disable Power Management rust.config - Enable Rust tiny-base.config - Minimal options for tiny systems tiny.config - Smallest possible kernel image x86_debug.config - Debugging options for tip tree testing xen.config - Bootable as a Xen guest tiny.config - x86-specific options for a small kernel image xen.config - x86-specific options for a Xen virtualization guest
Quoted 5 lines
Quoted 2 lines
ISTM that you are missing the "why" part of this change in the commit description.
I want to see what fragments are available without needing to know the source tree layout for their locations. :)
Why? :)
but you don't have to answer. I acquiesce (i.e., give up).
Quoted 9 lines
Quoted 5 lines
"make tinyconfig" is the real target here. The other (tiny.) files are just implementation details.
We can't put all implementation details into help messages and it's not difficult to find that the (tiny.) config files are merged to make the final .config file.Yeah, this seems true for much of the ppc stuff to, as pointed out by mpe. I'll go answer there...
Signature · 6 lines
~Randy _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv