3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-16 07:45:28 +00:00

Support custom PROGRAM_PREFIX

This commit is contained in:
Miodrag Milanovic 2020-04-10 10:38:40 +02:00
parent 7c06cb6157
commit 0d789c5a3b
10 changed files with 81 additions and 71 deletions

View file

@ -18,21 +18,21 @@ help() {
echo ""
echo "Use --exec to call a command instead of generating output. Example usage:"
echo ""
echo " yosys-config --exec --cxx --cxxflags --ldflags -o plugin.so -shared plugin.cc --ldlibs"
echo " $0 --exec --cxx --cxxflags --ldflags -o plugin.so -shared plugin.cc --ldlibs"
echo ""
echo "The above command can be abbreviated as:"
echo ""
echo " yosys-config --build plugin.so plugin.cc"
echo " $0 --build plugin.so plugin.cc"
echo ""
echo "Use --prefix to change the prefix for the special args from '--' to"
echo "something else. Example:"
echo ""
echo " yosys-config --prefix @ bindir: @bindir"
echo " $0 --prefix @ bindir: @bindir"
echo ""
echo "The args --bindir and --datdir can be directly followed by a slash and"
echo "additional text. Example:"
echo ""
echo " yosys-config --datdir/simlib.v"
echo " $0 --datdir/simlib.v"
echo ""
} >&2
exit 1