Skip to content
Commit 1664a377 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 7e826c44
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment