summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-22 08:11:54 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-01 22:21:57 +0900
commite07db28eea38ed4e332b3a89f3995c86b713cb5b (patch)
treedeab3724d619c09276c18b28f43e8f37825d860b /drivers/virt
parenta4d26f1a0958bb1c2b60c6f1e67c6f5d43e2647b (diff)
downloadlinux-e07db28eea38ed4e332b3a89f3995c86b713cb5b.tar.bz2
kbuild: fix single target build for external module
Building a single target in an external module fails due to missing .tmp_versions directory. For example, $ make -C /lib/modules/$(uname -r)/build M=$PWD foo.o will fail in the following way: CC [M] /home/masahiro/foo/foo.o /bin/sh: 1: cannot create /home/masahiro/foo/.tmp_versions/foo.mod: Directory nonexistent This is because $(cmd_crmodverdir) is executed only before building /, %/, %.ko single targets of external modules. Create .tmp_versions in the 'prepare' target. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions