Skip to contentSkip to conversation

Makefile: Force make to run serially in the top-level Makefile

PATCH New Yann E. MORIN 3 participants 3 messages Sep 28, 2010 – Sep 30, 2010 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: Force make to run serially in the top-level Makefile

The top-level Makefile can be executed in parallel, as it causes problems. We can force make to be not parallel.

It's been reported many times, and recent discussions on IRC with kos_tom, and user nick-named knee, led to this patch.

---
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Makefile +3 -0
index faa802b..e0cde26 100644
@@ -18,6 +18,9 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
 
+# This top-level Makefile can *not* be executed in parallel
+.NOTPARALLEL:
+
 #--------------------------------------------------------------
 # Just run 'make menuconfig', configure stuff, then run 'make'.
 # You shouldn't need to mess with anything beyond this point...
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 Makefile: Force make to run serially in the top-level Makefile

Hello,

Quoted 7 lines · On Tue, 28 Sep 2010 23:50:58 +0200 "Yann E. MORIN"…

The top-level Makefile can be executed in parallel, as it causes problems. We can force make to be not parallel.

It's been reported many times, and recent discussions on IRC with kos_tom, and user nick-named knee, led to this patch.

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 Makefile: Force make to run serially in the top-level Makefile

In reply to Yann E. MORIN
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> The top-level Makefile can be executed in parallel, as it causes problems. Yann> We can force make to be not parallel.

Yann> It's been reported many times, and recent discussions on IRC with kos_tom, Yann> and user nick-named knee, led to this patch.

Cool, I didn't know .NOTPARALLEL - Thanks, committed.

Signature · 1 line
Bye, Peter Korsgaard