diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2019-12-19 17:33:28 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-01-07 02:18:39 +0900 |
commit | 1664a377908ed6096680e9d7cfd28facef2194f2 (patch) | |
tree | 7d850c9a98fc520feb9acb2577dc471a397f896f /Makefile | |
parent | 7e826c44f5de3be00369d534dc38db485f6f26d5 (diff) | |
download | lwn-1664a377908ed6096680e9d7cfd28facef2194f2.tar.gz lwn-1664a377908ed6096680e9d7cfd28facef2194f2.zip |
kbuild: pass KBUILD_MODFILE when compiling builtin objects
When compiling, Kbuild passes KBUILD_BASENAME (basename of the object)
and KBUILD_MODNAME (basename of the module).
This commit adds another one, KBUILD_MODFILE, which is the path of
the module. (or, the path of the module it would end up in if it were
compiled as a module.)
The next commit will use this to generate modules.builtin without
tristate.conf.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions