diff options
author | Nicolas Schier <n.schier@avm.de> | 2024-06-24 13:12:14 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-06-26 00:18:57 +0900 |
commit | 7ed9d1318c127b3aec77099802a9fdf2480250b4 (patch) | |
tree | 03be4f97cbd4ee356d68962455995576b5e14463 /mm | |
parent | 8d1001f7bdd0553a796998f4fff07ee13e1c1cad (diff) | |
download | linux-stable-7ed9d1318c127b3aec77099802a9fdf2480250b4.tar.gz linux-stable-7ed9d1318c127b3aec77099802a9fdf2480250b4.tar.bz2 linux-stable-7ed9d1318c127b3aec77099802a9fdf2480250b4.zip |
kbuild: Use $(obj)/%.cc to fix host C++ module builds
Use $(obj)/ instead of $(src)/ prefix when building C++ modules for
host, as explained in commit b1992c3772e6 ("kbuild: use $(src) instead
of $(srctree)/$(src) for source directory"). This fixes build failures
of 'xconfig':
$ make O=build/ xconfig
make[1]: Entering directory '/data/linux/kbuild-review/build'
GEN Makefile
make[3]: *** No rule to make target '../scripts/kconfig/qconf-moc.cc', needed by 'scripts/kconfig/qconf-moc.o'. Stop.
Fixes: b1992c3772e6 ("kbuild: use $(src) instead of $(srctree)/$(src) for source directory")
Reported-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Nicolas Schier <n.schier@avm.de>
Tested-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions