Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752801AbbLIVee (ORCPT ); Wed, 9 Dec 2015 16:34:34 -0500 Received: from mail-oi0-f48.google.com ([209.85.218.48]:33743 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751526AbbLIVec (ORCPT ); Wed, 9 Dec 2015 16:34:32 -0500 MIME-Version: 1.0 In-Reply-To: <1402652395-28779-1-git-send-email-mmarek@suse.cz> References: <1402652395-28779-1-git-send-email-mmarek@suse.cz> From: Andy Lutomirski Date: Wed, 9 Dec 2015 13:34:12 -0800 Message-ID: Subject: Re: [PATCH] kbuild: Do not run modules_install and install in paralel To: Michal Marek Cc: "H. Peter Anvin" , X86 ML , "linux-kbuild@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1294 Lines: 41 On Fri, Jun 13, 2014 at 2:39 AM, Michal Marek wrote: > Based on a x86-only patch by Andy Lutomirski > > With modular kernels, 'make install' is going to need the installed > modules at some point to generate the initramfs. > > Signed-off-by: Michal Marek > --- > Makefile | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Makefile b/Makefile > index 7680d7c..7e5e483 100644 > --- a/Makefile > +++ b/Makefile > @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),) > endif > endif > endif > +# install and module_install need also be processed one by one > +ifneq ($(filter install,$(MAKECMDGOALS)),) > + ifneq ($(filter modules_install,$(MAKECMDGOALS)),) > + mixed-targets := 1 > + endif > +endif > > ifeq ($(mixed-targets),1) > # =========================================================================== > -- > 1.9.2 > This patch seems to have gotten lost. Do you still like it? If so, can someone apply it, please? --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/