From patchwork Thu May 2 12:50:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Richter X-Patchwork-Id: 2511691 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 15AB83FD85 for ; Thu, 2 May 2013 12:51:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756945Ab3EBMvN (ORCPT ); Thu, 2 May 2013 08:51:13 -0400 Received: from mail-bk0-f48.google.com ([209.85.214.48]:42264 "EHLO mail-bk0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755077Ab3EBMvM (ORCPT ); Thu, 2 May 2013 08:51:12 -0400 Received: by mail-bk0-f48.google.com with SMTP id jf3so237017bkc.7 for ; Thu, 02 May 2013 05:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer; bh=PCk2GCg3FW6AiRZeZ9RFCxMfBpLcLVHFBQoXR6bTwoI=; b=Gn1fGCAcR+ZgE3tAYYCONmmwsrWOkkv2RXqGrfF76RpnNXsio5OHED0n5Z+c0T38eH 8KiP/Q7pjRQJ3UA7cZD0bHGskO+RrJZDH2rN2TBQmmHbqtYfrlaU0ZJZ1zUoxwqfD2PG giXulv9sNc/Kl0USasgQ8CasF5pc5ACWjD2J4a7649osahJgnODjZt2AxkPkdWL7WhNS vHvy+cY/bvIMCR54GlrCAX5lBa1R/V5Ki0KSqb8FgYxtHyStqZ7FniC1LHVN2d7beGIf MLHd23KzLvOVU4gBdzH0GUFrrKWx/cN7QpZfbGJourxYOCuh4E73NjHFpEZX8k5AsVfj FkqQ== X-Received: by 10.205.67.199 with SMTP id xv7mr2144634bkb.21.1367499071321; Thu, 02 May 2013 05:51:11 -0700 (PDT) Received: from rric.localhost (g229038097.adsl.alicedsl.de. [92.229.38.97]) by mx.google.com with ESMTPSA id fh8sm1368746bkc.10.2013.05.02.05.51.09 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 05:51:10 -0700 (PDT) From: Robert Richter To: Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Robert Richter Subject: [PATCH] Makefile: Fix install error with make -j option Date: Thu, 2 May 2013 14:50:37 +0200 Message-Id: <1367499037-8350-1-git-send-email-rric@kernel.org> X-Mailer: git-send-email 1.8.1.1 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org From: Robert Richter 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 --- 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)