Skip to content

Commit d2aae84

Browse files
Robert Richtermichal42
authored andcommitted
Makefile: Fix install error with make -j option
Make modules_install fails with -j option: DEPMOD Usage: .../.source/linux/scripts/depmod.sh /sbin/depmod <kernelrelease> make[1]: *** [_modinst_post] Error 1 Adding kernelrelease dependency to fix this. Signed-off-by: Robert Richter <robert.richter@calxeda.com> Cc: <stable@vger.kernel.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent 04130cc commit d2aae84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ _modinst_:
981981
# boot a modules.dep even before / is mounted read-write. However the
982982
# boot script depmod is the master version.
983983
PHONY += _modinst_post
984-
_modinst_post: _modinst_
984+
_modinst_post: include/config/kernel.release _modinst_
985985
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst
986986
$(call cmd,depmod)
987987

0 commit comments

Comments
 (0)