From 0da99447d3e88e83f9977501bee56af5c7aa56c0 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Tue, 10 Jul 2012 20:49:03 +0000
Subject: [PATCH] Mark build test makefiles as being incompatible with parallel
 make builds, as they re-use the same object directories.

---
 BuildTests/BoardDriverTest/makefile   | 2 ++
 BuildTests/BootloaderTest/makefile    | 2 ++
 BuildTests/ModuleTest/makefile        | 3 +++
 BuildTests/SingleUSBModeTest/makefile | 3 +++
 4 files changed, 10 insertions(+)

diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile
index f039a3a7d..11847511e 100644
--- a/BuildTests/BoardDriverTest/makefile
+++ b/BuildTests/BoardDriverTest/makefile
@@ -14,6 +14,8 @@
 # Path to the LUFA library core
 LUFA_PATH := ../../LUFA/
 
+# Build test cannot be run with multiple parallel jobs
+.NOTPARALLEL:
 
 all: begin makeboardlist testboards clean end
 
diff --git a/BuildTests/BootloaderTest/makefile b/BuildTests/BootloaderTest/makefile
index d15a85e4b..d73bbf3aa 100644
--- a/BuildTests/BootloaderTest/makefile
+++ b/BuildTests/BootloaderTest/makefile
@@ -13,6 +13,8 @@
 # Path to the LUFA library core
 LUFA_PATH := ../../LUFA/
 
+# Build test cannot be run with multiple parallel jobs
+.NOTPARALLEL:
 
 all: begin testbootloaders clean end
 
diff --git a/BuildTests/ModuleTest/makefile b/BuildTests/ModuleTest/makefile
index 196fc32b2..39baf283b 100644
--- a/BuildTests/ModuleTest/makefile
+++ b/BuildTests/ModuleTest/makefile
@@ -15,6 +15,9 @@
 # Path to the LUFA library core
 LUFA_PATH := ../../LUFA/
 
+# Build test cannot be run with multiple parallel jobs
+.NOTPARALLEL:
+
 # List of device families per architecture, one device per architecture sub-family
 AVR8_FAMILIES   := at90usb1287 at90usb1286 atmega16u4 atmega16u2 at90usb162
 XMEGA_FAMILIES  := atxmega128a1u atxmega128a3u atxmega256a3bu atxmega128a4u atxmega128b1 atxmega128b3 atxmega128c3 atxmega32c4
diff --git a/BuildTests/SingleUSBModeTest/makefile b/BuildTests/SingleUSBModeTest/makefile
index 7b5b06040..d31f5f028 100644
--- a/BuildTests/SingleUSBModeTest/makefile
+++ b/BuildTests/SingleUSBModeTest/makefile
@@ -14,6 +14,9 @@
 # Path to the LUFA library core
 LUFA_PATH := ../../LUFA/
 
+# Build test cannot be run with multiple parallel jobs
+.NOTPARALLEL:
+
 all: begin compile clean end
 
 begin:
-- 
GitLab