From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:37272 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752950AbbLJOpm (ORCPT ); Thu, 10 Dec 2015 09:45:42 -0500 Subject: Re: [PATCH] kbuild: Do not run modules_install and install in paralel References: <1402652395-28779-1-git-send-email-mmarek@suse.cz> From: Michal Marek Message-ID: <56699013.6020800@suse.cz> Date: Thu, 10 Dec 2015 15:45:39 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Andy Lutomirski Cc: "H. Peter Anvin" , X86 ML , "linux-kbuild@vger.kernel.org" , "linux-kernel@vger.kernel.org" Dne 9.12.2015 v 22:34 Andy Lutomirski napsal(a): > 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? Oops. I will rebase it and apply to the kbuild tree. Michal