From 367965be5892b30bd0f3492172246423e9ee2c2d Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Sat, 14 Jul 2018 00:47:35 +0000 Subject: [PATCH] Merged in masayuki2009/nuttx.nuttx/lc823450_parallel_build (pull request #682) configs/lc823450-xgevk: Fix parallel build on lc823450-xgevk This patch fixes an archive file (*.a) corruption by locking $(TOPDIR). Please note that locking the current directory is insufficient because some archive files such as libapps.a are specified with absolute path. Signed-off-by: Masayuki Ishikawa Approved-by: GregoryN --- configs/lc823450-xgevk/scripts/Make.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/lc823450-xgevk/scripts/Make.defs b/configs/lc823450-xgevk/scripts/Make.defs index 05760d09b1..041db87c14 100644 --- a/configs/lc823450-xgevk/scripts/Make.defs +++ b/configs/lc823450-xgevk/scripts/Make.defs @@ -64,7 +64,7 @@ CXX = $(CROSSDEV)g++ CPP = $(CROSSDEV)gcc -E LD = $(CROSSDEV)ld STRIP = $(CROSSDEV)strip --strip-unneeded -AR = $(CROSSDEV)ar rcs +AR = flock --verbose $(TOPDIR) $(CROSSDEV)ar rcs NM = $(CROSSDEV)nm OBJCOPY = $(CROSSDEV)objcopy OBJDUMP = $(CROSSDEV)objdump