[ 3.8.y.z extended stable ] Patch "Makefile: Fix install error with make -j option" has been added to staging queue

Kamal Mostafa kamal at canonical.com
Tue Jul 16 22:54:00 UTC 2013


This is a note to let you know that I have just added a patch titled

    Makefile: Fix install error with make -j option

to the linux-3.8.y-queue branch of the 3.8.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.8.y-queue

This patch is scheduled to be released in version 3.8.13.5.

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.8.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Kamal

------

>From d933561895110110d0db6a37bdc753105f5ce103 Mon Sep 17 00:00:00 2001
From: Robert Richter <robert.richter at calxeda.com>
Date: Thu, 2 May 2013 14:50:37 +0200
Subject: Makefile: Fix install error with make -j option

commit d2aae8477cd00325bb7c7c7e95be488088900c48 upstream.

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 at calxeda.com>
Signed-off-by: Michal Marek <mmarek at suse.cz>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a01c032..ed08701 100644
--- a/Makefile
+++ b/Makefile
@@ -977,7 +977,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.2





More information about the kernel-team mailing list