examples/posix_spawn: Fix parallel build errors at link time

During generating symtab.c, compile seqeuence would start with
incomplete symtab.c. This change will fix such a situation.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
liuhaitao 2020-03-13 11:33:42 +08:00
parent be3b314258
commit 73319a6968

View File

@ -78,7 +78,8 @@ $(ROMFS_HDR) : $(ROMFS_IMG)
# Create the exported symbol table
$(SYMTAB_SRC): $(ROMFS_IMG)
$(Q) $(FILESYSTEM_DIR)$(DELIM)mksymtab.sh $(ROMFS_DIR) >$@
$(Q) $(FILESYSTEM_DIR)$(DELIM)mksymtab.sh $(ROMFS_DIR) >$@_tmp
$(Q) mv $@_tmp $@
# Clean each subdirectory