]> Git Repo - linux.git/commitdiff
Makefile: Fix install error with make -j option
authorRobert Richter <[email protected]>
Thu, 2 May 2013 12:50:37 +0000 (14:50 +0200)
committerMichal Marek <[email protected]>
Wed, 3 Jul 2013 12:58:13 +0000 (14:58 +0200)
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 <[email protected]>
Cc: <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
Makefile

index 6280aa192c36d7513c168e1c45bcf1b306a46e49..29339b4301269f3487f6dd61ff6cb55d5584bcb8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -981,7 +981,7 @@ _modinst_:
 # boot a modules.dep even before / is mounted read-write.  However the
 # boot script depmod is the master version.
 PHONY += _modinst_post
-_modinst_post: _modinst_
+_modinst_post: include/config/kernel.release _modinst_
        $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst
        $(call cmd,depmod)
 
This page took 0.0516 seconds and 4 git commands to generate.