Skip to content

Commit b0030af

Browse files
committed
Merge tag 'kbuild-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kbuild updates from Masahiro Yamada: - Evaluate $(call cc-option,...) etc. only for build targets - Add CONFIG_VMLINUX_MAP to generate .map file when linking vmlinux - Remove unnecessary --gcc-toolchains Clang flag because the --prefix flag finds the toolchains - Do not pass Clang's --prefix flag when using the integrated as - Check the assembler version in Kconfig time - Add new CONFIG options, AS_VERSION, AS_IS_GNU, AS_IS_LLVM to clean up some dependencies in Kconfig - Fix invalid Module.symvers creation when building only modules without vmlinux - Fix false-positive modpost warnings when CONFIG_TRIM_UNUSED_KSYMS is set, but there is no module to build - Refactor module installation Makefile - Support zstd for module compression - Convert alpha and ia64 to use generic shell scripts to generate the syscall headers - Add a new elfnote to indicate if the kernel was built with LTO, which will be used by pahole - Flatten the directory structure under include/config/ so CONFIG options and filenames match - Change the deb source package name from linux-$(KERNELRELEASE) to linux-upstream * tag 'kbuild-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (42 commits) kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test kbuild: deb-pkg: change the source package name to linux-upstream tools: do not include scripts/Kbuild.include kbuild: redo fake deps at include/config/*.h kbuild: remove TMPO from try-run MAINTAINERS: add pattern for dummy-tools kbuild: add an elfnote for whether vmlinux is built with lto ia64: syscalls: switch to generic syscallhdr.sh ia64: syscalls: switch to generic syscalltbl.sh alpha: syscalls: switch to generic syscallhdr.sh alpha: syscalls: switch to generic syscalltbl.sh sysctl: use min() helper for namecmp() kbuild: add support for zstd compressed modules kbuild: remove CONFIG_MODULE_COMPRESS kbuild: merge scripts/Makefile.modsign to scripts/Makefile.modinst kbuild: move module strip/compression code into scripts/Makefile.modinst kbuild: refactor scripts/Makefile.modinst kbuild: rename extmod-prefix to extmod_prefix kbuild: check module name conflict for external modules as well kbuild: show the target directory for depmod log ...
2 parents 9d31d23 + f634ca6 commit b0030af

Some content is hidden

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

54 files changed

+635
-596
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ modules.order
5757
/tags
5858
/TAGS
5959
/linux
60+
/modules-only.symvers
6061
/vmlinux
6162
/vmlinux.32
63+
/vmlinux.map
6264
/vmlinux.symvers
6365
/vmlinux-gdb.py
6466
/vmlinuz

Documentation/devicetree/bindings/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define rule_chkdt
4848
$(call cmd,mk_schema)
4949
endef
5050

51-
DT_DOCS = $(shell $(find_cmd) | sed -e 's|^$(srctree)/||')
51+
DT_DOCS = $(patsubst $(srctree)/%,%,$(shell $(find_cmd)))
5252

5353
override DTC_FLAGS := \
5454
-Wno-avoid_unnecessary_addr_size \

Documentation/dontdiff

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ mktables
178178
mktree
179179
mkutf8data
180180
modpost
181+
modules-only.symvers
181182
modules.builtin
182183
modules.builtin.modinfo
183184
modules.nsdeps
@@ -252,6 +253,7 @@ vmlinux-*
252253
vmlinux.aout
253254
vmlinux.bin.all
254255
vmlinux.lds
256+
vmlinux.map
255257
vmlinux.symvers
256258
vmlinuz
257259
voffset.h

Documentation/kbuild/Kconfig.recursion-issue-02

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-02 allnoconfig
77
#
88
# The recursive limitations with Kconfig has some non intuitive implications on
9-
# kconfig sematics which are documented here. One known practical implication
9+
# kconfig semantics which are documented here. One known practical implication
1010
# of the recursive limitation is that drivers cannot negate features from other
1111
# drivers if they share a common core requirement and use disjoint semantics to
1212
# annotate those requirements, ie, some drivers use "depends on" while others

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9844,6 +9844,7 @@ F: scripts/*vmlinux*
98449844
F: scripts/Kbuild*
98459845
F: scripts/Makefile*
98469846
F: scripts/basic/
9847+
F: scripts/dummy-tools/
98479848
F: scripts/mk*
98489849
F: scripts/mod/
98499850
F: scripts/package/

0 commit comments

Comments
 (0)