public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Makefile: Fix install error with make -j option
@ 2013-05-02 12:50 Robert Richter
  2013-06-12 10:13 ` Robert Richter
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Richter @ 2013-05-02 12:50 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild, linux-kernel, Robert Richter

From: Robert Richter <robert.richter@calxeda.com>

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>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 46263d8..0205e79 100644
--- a/Makefile
+++ b/Makefile
@@ -979,7 +979,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)
 
-- 
1.8.1.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Makefile: Fix install error with make -j option
  2013-05-02 12:50 [PATCH] Makefile: Fix install error with make -j option Robert Richter
@ 2013-06-12 10:13 ` Robert Richter
  2013-07-03 12:59   ` Michal Marek
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Richter @ 2013-06-12 10:13 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org

Michal,

please apply this fix, ideally for v3.10 if possible.

Thanks,

-Robert


On 02.05.13 08:50:37, Robert Richter wrote:
> From: Robert Richter <robert.richter@calxeda.com>
> 
> 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>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 46263d8..0205e79 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -979,7 +979,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)
>  
> -- 
> 1.8.1.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Makefile: Fix install error with make -j option
  2013-06-12 10:13 ` Robert Richter
@ 2013-07-03 12:59   ` Michal Marek
  0 siblings, 0 replies; 3+ messages in thread
From: Michal Marek @ 2013-07-03 12:59 UTC (permalink / raw)
  To: Robert Richter; +Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org

On Wed, Jun 12, 2013 at 12:13:47PM +0200, Robert Richter wrote:
> Michal,
> 
> please apply this fix, ideally for v3.10 if possible.

I applied it to kbuild.git#kbuild now, with Cc:
<stable@vger.kernel.org>.

Michal
> 
> Thanks,
> 
> -Robert
> 
> 
> On 02.05.13 08:50:37, Robert Richter wrote:
> > From: Robert Richter <robert.richter@calxeda.com>
> > 
> > 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>
> > ---
> >  Makefile | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Makefile b/Makefile
> > index 46263d8..0205e79 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -979,7 +979,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)
> >  
> > -- 
> > 1.8.1.1
> > 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-03 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 12:50 [PATCH] Makefile: Fix install error with make -j option Robert Richter
2013-06-12 10:13 ` Robert Richter
2013-07-03 12:59   ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox