Skip to content
Commit 3753af77 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: fix single directory build



Commit f110e5a2 ("kbuild: refactor single builds of *.ko") was wrong.

KBUILD_MODULES _is_ needed for single builds.

Otherwise, "make foo/bar/baz/" does not build module objects at all.

Fixes: f110e5a2 ("kbuild: refactor single builds of *.ko")
Reported-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Tested-by: default avatarDavid Sterba <dsterba@suse.com>
parent c67a85be
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