From: Robert Richter Date: Thu, 2 May 2013 12:50:37 +0000 (+0200) Subject: Makefile: Fix install error with make -j option X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d2aae8477cd00325bb7c7c7e95be488088900c48;p=linux-beck.git Makefile: Fix install error with make -j option Make modules_install fails with -j option: DEPMOD Usage: .../.source/linux/scripts/depmod.sh /sbin/depmod make[1]: *** [_modinst_post] Error 1 Adding kernelrelease dependency to fix this. Signed-off-by: Robert Richter Cc: Signed-off-by: Michal Marek --- 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)