[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170812080655.GA19083@ravnborg.org>
Date: Sat, 12 Aug 2017 10:06:55 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: Jim Davis <jim.epost@...il.com>,
Randy Dunlap <rdunlap@...radead.org>,
Thomas Meyer <thomas@...3r.de>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-kbuild <linux-kbuild@...r.kernel.org>
Subject: Re: make clean all broken with -j? + question regarding modpost
Hi Masahiro
>
> Kbuild does not cater to the mixture of clean targets and build targets,
> but I do not know why.
The details has long escaped me but in general we do not want to
have a job deleting all .o files running in parallel with a job that
creates .o files.
So we wanted the following to work:
$make mrproper defconfig
make would in the standard configuration execute "mrproper" and "defconfig"
in parallel which would result in a broken build.
This is the background for some of the ugly hacks in the
top-level makefile.
Sam
Powered by blists - more mailing lists