Blame SOURCES/0045-Make-the-top-level-makefile-not-parallelize.patch

4e0e09
From aae6a63e34320299a3707a9a468ab78333230283 Mon Sep 17 00:00:00 2001
4e0e09
From: Peter Jones <pjones@redhat.com>
4e0e09
Date: Fri, 11 Oct 2019 10:52:12 -0400
4e0e09
Subject: [PATCH 45/63] Make the top level makefile not parallelize.
4e0e09
4e0e09
Right now if you run:
4e0e09
4e0e09
  make
4e0e09
  make -j9 clean all
4e0e09
4e0e09
"clean" and "all" will run in parallel, and "all" will often finish
4e0e09
before "clean" will.  This is obviously wrong.
4e0e09
4e0e09
This patch adds .NOTPARALLEL: at the top level, so none of the top-level
4e0e09
targets will parallelize, because we really never want that.
4e0e09
4e0e09
Signed-off-by: Peter Jones <pjones@redhat.com>
4e0e09
---
4e0e09
 Makefile | 2 +-
4e0e09
 1 file changed, 1 insertion(+), 1 deletion(-)
4e0e09
4e0e09
diff --git a/Makefile b/Makefile
4e0e09
index 2d134ea9d6f..61b79a60369 100644
4e0e09
--- a/Makefile
4e0e09
+++ b/Makefile
4e0e09
@@ -83,4 +83,4 @@ archive: abicheck bumpver abidw tag efivar.spec
4e0e09
 	@rm -rf /tmp/efivar-$(GITTAG)
4e0e09
 	@echo "The archive is in efivar-$(GITTAG).tar.bz2"
4e0e09
 
4e0e09
-
4e0e09
+.NOTPARALLEL:
4e0e09
-- 
4e0e09
2.26.2
4e0e09