Merged in masayuki2009/nuttx.nuttx/fix_syscall_build (pull request #691)
syscall: Fix parallel build in making context. This patch avoids running $(MKSYSCALL) and .context in parallel and ensures that tools/mksyscall is built before it is actually used. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
7a9e623c42
commit
c60a23b313
@ -86,15 +86,13 @@ $(BIN2): $(STUB_OBJS)
|
||||
|
||||
depend: .depend
|
||||
|
||||
$(MKSYSCALL):
|
||||
$(Q) $(MAKE) -C $(TOPDIR)$(DELIM)tools -f Makefile.host mksyscall
|
||||
|
||||
.context: syscall.csv
|
||||
$(Q) $(MAKE) -C $(TOPDIR)$(DELIM)tools -f Makefile.host mksyscall
|
||||
$(Q) (cd proxies; $(MKSYSCALL) -p $(CSVFILE);)
|
||||
$(Q) (cd stubs; $(MKSYSCALL) -s $(CSVFILE);)
|
||||
$(Q) touch $@
|
||||
|
||||
context: $(MKSYSCALL) .context
|
||||
context: .context
|
||||
|
||||
clean:
|
||||
$(call DELFILE, $(BIN1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user