3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-28 19:35:53 +00:00

Added support for loadable modules (aka plugins)

This commit is contained in:
Clifford Wolf 2013-03-06 11:58:07 +01:00
parent 14c097b633
commit b380af9d6d
4 changed files with 64 additions and 12 deletions

30
yosys-config.in Normal file
View file

@ -0,0 +1,30 @@
#!/bin/sh
help() {
{ echo; echo "Usage: $0 { --cxx | --cxxflags | --ldflags | --ldlibs }"; } >&2
exit 1
}
if [ $# -eq 0 ]; then
help
fi
for opt; do
case "$opt" in
--cxx)
echo -n '@CXX@ ' ;;
--cxxflags)
echo -n '@CXXFLAGS@ ' ;;
--ldflags)
echo -n '@LDFLAGS@ ' ;;
--ldlibs)
echo -n '@LDLIBS@ ' ;;
--help|-\?)
help ;;
*)
echo -n "$opt "
esac
done
echo
exit 0