Skip to content

Commit

Permalink
Merged in masayuki2009/nuttx.nuttx/lc823450_parallel_build (pull requ…
Browse files Browse the repository at this point in the history
…est #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>
  • Loading branch information
masayuki2009 authored and gregory-nutt committed Jul 14, 2018
1 parent c6450fa commit 367965b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/lc823450-xgevk/scripts/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 367965b

Please sign in to comment.