summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@calxeda.com>2013-05-02 14:50:37 +0200
committerMichal Marek <mmarek@suse.cz>2013-07-03 14:58:13 +0200
commitd2aae8477cd00325bb7c7c7e95be488088900c48 (patch)
tree3d91e8e36b0ab081a19589bbab9e2a31f19f5abb /Makefile
parentFix a build warning in scripts/mod/file2alias.c (diff)
downloadlinux-d2aae8477cd00325bb7c7c7e95be488088900c48.tar.xz
linux-d2aae8477cd00325bb7c7c7e95be488088900c48.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6280aa192c36..29339b430126 100644
--- 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)