diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-10 14:48:00 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-11 04:23:32 +0900 |
commit | 74d3320f6f7cf72de88a7e8df573821f6db90239 (patch) | |
tree | 5c86f125d153c25a1b4fee8f00b42705696e0ee3 /net/switchdev | |
parent | 8debed3efe3a731451ad9a91a7a74eeb18a7f7eb (diff) | |
download | linux-74d3320f6f7cf72de88a7e8df573821f6db90239.tar.bz2 |
kbuild: fix 'make modules' error when CONFIG_DEBUG_INFO_BTF_MODULES=y
When CONFIG_DEBUG_INFO_BTF_MODULES=y, running 'make modules'
in the clean kernel tree will get the following error.
$ grep CONFIG_DEBUG_INFO_BTF_MODULES .config
CONFIG_DEBUG_INFO_BTF_MODULES=y
$ make -s clean
$ make modules
[snip]
AR vmlinux.a
ar: ./built-in.a: No such file or directory
make: *** [Makefile:1241: vmlinux.a] Error 1
'modules' depends on 'vmlinux', but builtin objects are not built.
Define KBUILD_BUILTIN.
Fixes: f73edc8951b2 ("kbuild: unify two modpost invocations")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions