Script for generating empty symbols.[ch]
This commit is contained in:
parent
0cd74875da
commit
36d204b992
5
tools/make-empty-symbols
Executable file
5
tools/make-empty-symbols
Executable 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
|
Loading…
Reference in a new issue