From 3999f2ad75e053dbddff08b1a98204b9ec6e4ce3 Mon Sep 17 00:00:00 2001 From: Jesse Rosenstock Date: Fri, 10 Jul 2020 11:48:47 +0200 Subject: [PATCH] Move .NOTPARALLEL closer to rule that needs it --- test/asm/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/asm/Makefile b/test/asm/Makefile index 62f2f8dd1..a0825574c 100644 --- a/test/asm/Makefile +++ b/test/asm/Makefile @@ -41,9 +41,6 @@ CPUDETECT_BINS = $(foreach cpu,$(CPUDETECT_CPUS),$(WORKDIR)/$(cpu)-cpudetect.bin all: $(OPCODE_BINS) $(CPUDETECT_BINS) -# cpudetect.o is written by multiple rules -.NOTPARALLEL: - $(WORKDIR): $(call MKDIR,$(WORKDIR)) @@ -61,6 +58,9 @@ endef # OPCODE_template $(foreach cpu,$(OPCODE_CPUS),$(eval $(call OPCODE_template,$(cpu)))) +# cpudetect.o is written by multiple rules +.NOTPARALLEL: + define CPUDETECT_template $(WORKDIR)/$1-cpudetect.bin: cpudetect.s $(DIFF)