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.
@@ -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
