mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
kbuild: fix single directory build
Commitf110e5a250
("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:f110e5a250
("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>
This commit is contained in:
parent
c67a85bee7
commit
3753af778d
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue