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 <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
Masayuki Ishikawa 2018-07-14 00:47:35 +00:00 committed by GregoryN
parent c6450fa27e
commit 367965be58
1 changed files with 1 additions and 1 deletions

View File

@ -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