[lkml]   [2014]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86,build: Fix make -jN modules_install install
On Wed, Jun 11, 2014 at 12:44 PM, Sam Ravnborg <> wrote:
> On Wed, Jun 11, 2014 at 12:41:57PM -0700, Andy Lutomirski wrote:
>> Every few months, I forget why I type:
>> $ sudo make -j12 modules_install && sudo make -j12 install
>> instead of just:
>> $ sudo make -j12 modules_install install
>> I try the latter, it appears to work, and then my machine won't boot
>> because dracut got confused. This fixes it once and for all: if you
>> ask make to install modules and a kernel, you almost certainly want
>> the modules installed *first* so that your initramfs scripts can
>> find the modules.
> Is this problem x86 specific?

I don't know. But I also don't want to have 'make modules_install
install' on an arch without an install target appear to work, so I
don't know how to do it in the kbuild core. That is, I don't want to
define an install target; I just want to add a dependency if the
target is already there.

Also, this patch has a repeated ifneq. I'll fix it in v2.

> Sam

Andy Lutomirski
AMA Capital Management, LLC

 \ /
  Last update: 2014-06-11 22:21    [W:0.150 / U:1.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site