summaryrefslogtreecommitdiff
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2026-10-11 01:22:02 +0100
committerNathan Chancellor <nathan@kernel.org>2026-10-11 01:22:02 +0100
commitfd26cc1da1ec4dbe4ca19d0c94f802ff4300a788 (patch)
treef343bf7e191d0567d77f8f352fdd53111b75e8e1 /scripts/Makefile
parent185b2c6a021ac46c62342fa814e5e2393f8396c5 (diff)
parentae5f6044c4cdffe2b3361b15c1d6fc67b339f2a4 (diff)
downloadlinux-next-fd26cc1da1ec4dbe4ca19d0c94f802ff4300a788.tar.gz
linux-next-fd26cc1da1ec4dbe4ca19d0c94f802ff4300a788.zip
Merge branch 'kbuild-next-speedups' into kbuild-for-next
* kbuild-next-speedups: kbuild: Mark the initcall ordering recipe as recursive kbuild: Mark the gzip recipes as recursive kconfig: Improve ergonomics around disabling warnings with cc-option scripts/Kconfig.toolchain: Drop compiler symbols from dependencies kbuild: keep .modinfo when vmlinux is linked with --gc-sections kbuild: compress the kernel with pigz if available kbuild: avoid re-running compiler and linker probes kbuild: move the toolchain checks into scripts/Kconfig.toolchain kallsyms: reimplement mksysmap in C elf-parse: add section flags, symbol binding and mapping helpers kbuild: only emit vmlinux relocations when required kbuild: do not sort nm output where the order is irrelevant sorttable: parse nm output correctly kallsyms: output binary data to speed output and kallsyms assembly kallsyms: index symbols by token to speed up table compression kbuild: do not allocate .modinfo in vmlinux Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 3d50805b0885..d7fbb7ca098b 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -3,7 +3,7 @@
# scripts contains sources for various helper programs used throughout
# the kernel for the build process.
-hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
+hostprogs-always-y += kallsyms
hostprogs-always-$(BUILD_C_RECORDMCOUNT) += recordmcount
hostprogs-always-$(CONFIG_BUILDTIME_TABLE_SORT) += sorttable
hostprogs-always-$(CONFIG_ASN1) += asn1_compiler
@@ -13,6 +13,7 @@ hostprogs-always-$(CONFIG_RUST_KERNEL_DOCTESTS) += rustdoc_test_builder
hostprogs-always-$(CONFIG_RUST_KERNEL_DOCTESTS) += rustdoc_test_gen
hostprogs-always-$(CONFIG_TRACEPOINTS) += tracepoint-update
+kallsyms-objs := kallsyms.o kallsyms-sysmap.o elf-parse.o
sorttable-objs := sorttable.o elf-parse.o
tracepoint-update-objs := tracepoint-update.o elf-parse.o
@@ -30,6 +31,8 @@ rustdoc_test_builder-rust := y
rustdoc_test_gen-rust := y
HOSTCFLAGS_tracepoint-update.o = -I$(srctree)/tools/include
+HOSTCFLAGS_kallsyms.o = -I$(srctree)/tools/include
+HOSTCFLAGS_kallsyms-sysmap.o = -I$(srctree)/tools/include
HOSTCFLAGS_elf-parse.o = -I$(srctree)/tools/include
HOSTCFLAGS_sorttable.o = -I$(srctree)/tools/include
HOSTLDLIBS_sorttable = -lpthread