diff --git a/examples/posix_spawn/filesystem/Makefile b/examples/posix_spawn/filesystem/Makefile index c9541ef7f..aa6dece2e 100644 --- a/examples/posix_spawn/filesystem/Makefile +++ b/examples/posix_spawn/filesystem/Makefile @@ -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