Skip to content

Commit

Permalink
examples/posix_spawn: Fix parallel build errors at link time
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
liuguo09 committed Mar 13, 2020
1 parent be3b314 commit 73319a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/posix_spawn/filesystem/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 73319a6

Please sign in to comment.