examples: elf: 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: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-03-11 13:13:26 +09:00 committed by Xiang Xiao
parent b1fd3ec8d8
commit 176fd27c8a

View File

@ -141,7 +141,8 @@ $(DIRLIST_HDR) : populate
# Create the exported symbol table
$(SYMTAB_SRC): populate
$(Q) $(TESTS_DIR)/mksymtab.sh $(FSIMG_DIR) >$@
$(Q) $(TESTS_DIR)/mksymtab.sh $(FSIMG_DIR) >$@_tmp
$(Q) mv $@_tmp $@
# Clean each subdirectory