MIPS: Reword KBUILD_SYM32 documentation for clarity

It is currently hard to figure out what the inline documentation for the
KBUILD_SYM32 option means as it speaks in generic build/ELF format terms
which can mean just about anything, while the whole point of the option
is whether kernel symbols can or cannot fit in the 32-bit value range.

Adjust the description accordingly and also quote the more correct 'n'
rather than 'no' setting (even though all that matters is whether it's
'y' or not).

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Maciej W. Rozycki 2026-09-19 16:14:55 +01:00 committed by Thomas Bogendoerfer
parent 0e1644296b
commit 02b0403868

View File

@ -285,10 +285,12 @@ cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
drivers-$(CONFIG_PCI) += arch/mips/pci/
#
# Automatically detect the build format. By default we choose
# the elf format according to the load address.
# We can always force a build with a 64-bits symbol format by
# passing 'KBUILD_SYM32=no' option to the make's command line.
# Automatically detect whether to build a 64-bit kernel using symbols
# limited to 32-bit values, which produces more compact code. This
# relies on the kernel image being linked at a 32-bit load address,
# which we use to infer whether to use this arrangement for symbols.
# Use 'make KBUILD_SYM32=n' to override this default choice and force
# 64-bit symbols to be used instead.
#
ifdef need-compiler
ifdef CONFIG_64BIT