Script for generating empty symbols.[ch]

This commit is contained in:
adamdunkels 2006-12-19 08:58:21 +00:00
parent 0cd74875da
commit 36d204b992
1 changed files with 5 additions and 0 deletions

5
tools/make-empty-symbols Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
echo "#include \"symbols.h\"" > symbols.c
echo "const struct symbols symbols[] = {{0,0}};" >> symbols.c
echo "#include \"loader/symbols-def.h\"" > symbols.h
echo "extern const struct symbols symbols[1];">> symbols.h