commit 17ec45ef857ca04f5d9d86e5933aad75d794cdf0
parent f9798dafb05c3aec44d44d8dad0f4181277433f5
Author: Roberto Vargas <roberto.vargas@arm.com>
Date: Thu, 28 Mar 2019 13:33:23 +0000
[libc] Fix parallel build
A dependency was lost and objlst.mk was created before the directory
recursion was finished.
Change-Id: I66ef86c01d886b2c98257735f9a14e63f0db9037
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libc/Makefile b/src/libc/Makefile
@@ -12,13 +12,13 @@ DIRS = arch\
string\
time\
-all: $(DIRS) objlst.mk
+all: objlst.mk
+@$(MAKE) -f Makefile.libc
$(DIRS): FORCE
+@cd $@ && $(MAKE)
-objlst.mk: FORCE
+objlst.mk: $(DIRS) FORCE
mklst $@
clean: