From 392d3a1a54e99cb5a19f4e41fa3f453040af1297 Mon Sep 17 00:00:00 2001 From: Adam Lackorzynski Date: Mon, 3 Dec 2018 00:00:00 +0000 Subject: [PATCH] LIBUART: Do not use built-in archive rule Do not use the built-in archive creation rule of make because it is not parallel-save. Even the manual states this, however, in some rather cryptic way. But the manual is actually right. Change-Id: I6542bc3e28a5155868593b59083bbe7ccb3ab319 --- kernel/fiasco/src/lib/uart/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/fiasco/src/lib/uart/Makefile b/kernel/fiasco/src/lib/uart/Makefile index 616b9580..99556bfb 100644 --- a/kernel/fiasco/src/lib/uart/Makefile +++ b/kernel/fiasco/src/lib/uart/Makefile @@ -3,10 +3,11 @@ include $(srcdir)/Makerules.global vpath %.cc $(VPATH_LIBUART) -all: $(notdir $(TARGET))($(OBJECTS)) +all: $(notdir $(TARGET)) $(OBJECTS): $(objbase)/.Compiler-config $(notdir $(TARGET)): $(OBJECTS) + $(AR) $(ARFLAGS) $@ $+ -include $(wildcard .*.d)