Skip to content

Commit a53da43

Browse files
committed
kbuild: fix single *.ko build
The single *.ko build is broken since commit f65a486 ("kbuild: change module.order to list *.o instead of *.ko"). Fixes: f65a486 ("kbuild: change module.order to list *.o instead of *.ko") Reported-by: Marc Kleine-Budde <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Tested-by: Marc Kleine-Budde <[email protected]>
1 parent 88603b6 commit a53da43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,7 @@ $(single-no-ko): $(build-dir)
19861986
# Remove MODORDER when done because it is not the real one.
19871987
PHONY += single_modules
19881988
single_modules: $(single-no-ko) modules_prepare
1989-
$(Q){ $(foreach m, $(single-ko), echo $(extmod_prefix)$m;) } > $(MODORDER)
1989+
$(Q){ $(foreach m, $(single-ko), echo $(extmod_prefix)$(m:%.ko=%.o);) } > $(MODORDER)
19901990
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
19911991
ifneq ($(KBUILD_MODPOST_NOFINAL),1)
19921992
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modfinal

0 commit comments

Comments
 (0)