diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-10-15 05:18:11 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-10-17 02:03:52 +0900 |
commit | 3753af778dd9d0d5199d6a7d01b0ead33135d095 (patch) | |
tree | c2129d3d4a9e426ff7fee5bfe139a0c28e8916bc /Makefile | |
parent | c67a85bee78db74c6889a5ca645c3763ad23d863 (diff) | |
download | linux-rpi-3753af778dd9d0d5199d6a7d01b0ead33135d095.tar.gz linux-rpi-3753af778dd9d0d5199d6a7d01b0ead33135d095.tar.bz2 linux-rpi-3753af778dd9d0d5199d6a7d01b0ead33135d095.zip |
kbuild: fix single directory build
Commit f110e5a250e3 ("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: f110e5a250e3 ("kbuild: refactor single builds of *.ko")
Reported-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1978,6 +1978,8 @@ endif single-goals := $(addprefix $(build-dir)/, $(single-no-ko)) +KBUILD_MODULES := 1 + endif # Preset locale variables to speed up the build process. Limit locale |